Thanks for the quick response.  I've found that the only way to be sure that 
the new settings show up in DHIS-2 on topcat is to create a setenv.bat file in 
the tomcat\bin folder.  Setting it as an environment variable seems to be less 
reliable.

Randy

-----Original Message-----
From: Knut Staring [mailto:knu...@gmail.com] 
Sent: Saturday, February 23, 2013 2:46 AM
To: Wilson,Randy
Cc: dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] Optimal settings for JAVA_OPTS on a 4 gig Windows 7 
computer?

Hi Randy,

This is proobably not the solution, but just yesterday I had a problem on a 
laptop with Windows 8 where it appeared as if the JVM took no notice of my 
JAVA_OPTS, the reason for which I still fail to comprehend.

So just to make sure, you could try and feed the parameters directly to the 
Java process as you are starting DHIS2, if you're using DHIS Live you could try 
something like this from a Command prompt:

java -Xmx6000m -Xms3000m -XX:MaxPermSize=500m -XX:PermSize=300m -jar 
dhis-live.jar

For Tomcat you could also put it in one of the startup scripts, I guess.

Knut

On Fri, Feb 22, 2013 at 4:53 PM, Wilson,Randy <rwil...@msh.org> 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@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>



--
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to