Java Memory - Need Help

I have installed Wildfire 3.0.1 onto a RedHat EL4 server. I noticed that the application shows that it is only has 63.31 MB free for Java Memory. I need to increase the size to 128mb or 256mb. I have read the postings and I just can’'t get this sorted out. I was wondering if anyone has a simple step-by-step guide for this process?

Grant.

Hi Grant,

edit bin/wildfire.xml and insert there a new line after the first one. The file should look like this:

#! /bin/sh

INSTALL4J_ADD_VM_PARAMS=’’-Xms32m -Xmx128m -Xss128k -Xoss128k’’

LG

How can i increase the Java memory for Wildfire installed on a Windows platform?

Thanks!

Jason

Create a file called “wildfired.exe.vmoptions” at the bin folder of your Wildfire installation. Enter data like this:

-Xms256m

-Xmx256m

Set the numbers as you like.

Create a file called “wildfired.exe.vmoptions” at the bin folder of your Wildfire installation. Enter data like this:

-Xms256m

-Xmx256m

Set the numbers as you like.

read http://www.jivesoftware.org/builds/wildfire/docs/latest/documentation/install-gu ide.html

Custom Parameters

Advanced users may wish to pass in parameters to the Java virtual machine (VM) to customize the runtime environment of Wildfire. You can do this by creating vmoptions files in the bin/ directory of your Wildfire installation. For the Windows service, you’‘d create a new text file called wildfire-service.vmoptions. Each parameter to the VM should be on a new line of the file. For example, to set the minimum heap size to 512 MB and max VM heap size to 1024 MB, you’'d use:

-Xms512m

-Xmx1024m

To create parameters for the normal launcher, create a file called wildfired.vmoptions (since the wildfire.exe launcher invokes the wildfired.exe executable to actually start the server).

LG

Thanks for the help.

Much appreciated!

Jason

LG,

Thanks for the help, it all worked great. I added the line to the script and restarted Wildfire… now I have the right amount of allocated memory.

Thanks!!!

Grant Harris