dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #01850
Re: Optimal settings for JAVA_OPTS on a 4 gig Windows 7 computer?
With your settings, I think there will be too much paging happening and the
heap space is the worst place to page.
The reason for the paging is you might have nearly free 2.5GB RAM available
(windows might use the remaining) and you've set the heap space from 3Gb to
6Gb, which will always nearly page.
So, I would say the -Xms1024m -Xmx1500m should be safest for 4Gb, given
that you'd run parallel GC in some memory that will be beyond the heap.
All of this assuming that you have x64 Java as well... just having windows
x64 won't be enough.
---
Regards,
Saptarshi PURKAYASTHA
My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE
On 22 February 2013 22:53, Wilson,Randy <rwilson@xxxxxxx> wrote:
> Does anyone have suggestions for the optimal settings for JAVA_OPTS on a
> 4 gig Windows 7 64 bit OS?****
>
> ** **
>
> My computer hangs every time I try to run the DATAMART process.****
>
> ** **
>
> Current settings are: SET JAVA_OPTS=-Xmx6000m -Xms3000m
> -XX:MaxPermSize=500m -XX:PermSize=300m****
>
> ** **
>
> *Randy Wilson*****
>
> ** **
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References