Help to change java memory parameters in wildfire2.4.2 win20003 and sqldb

Hi, can somebody help for change java parameters, Install guide says about

-Xms256m

-Xmx256m

I have to create the file and name it like wildfire-service.exe.vmoptions ?

But, the file extension will be .txt or what?

Or, the file route and name to change this values…

Hi, i got a question, i have modified the java memory parameters, and set them in next values:

-Xms100m

-Xmx1000m

My question is, does this values have to be the same ? like the installguide says 256 for both?

If i increase xmx value the server crashes quickly, if decrease server live for more time, what do i have to do ?

Hi,

you can set them like this, but this usually makes no sense.

You can assume that Wildfire needs about 32 MB for 100 clients (I did not test this, so maybe I’'m completely wrong).

I would set Xms to NrClients/100*32+30%, for 200 connections to 96 MB. Wildfire should never expand its heap, to monitor this you want to specify “-verbose:gc” along with “-Xms96m”.

The Xmx value will likely not be reached, so you could set it to 96 MB, but setting it to 2*Xms seems to be a good choice.

Use SUN’'s jvmstat and VisualGC to tune these values or add the options below to your java call and inspect the gc.log.

LG

PS: Java Garbage Collection Log Options:

-verbose:gc -XX:*PrintGCDetails -XX:*PrintGCTimeStamps -Xloggc:"$/logs/gc.log"