This thread is archived
11,137 Views 6 Replies Last post: Jul 20, 2007 4:30 PM by Lyle Dove RSS
Bronze 13 posts since
Aug 10, 2006
Currently Being Moderated

Jul 12, 2007 3:58 AM

How to increase JAVA  Memory in Openfire 3.3.2

I have upgraded openfire server from 3.3.0 to Openfire 3.3.2 .

 

In previous versions I add following line in /opt/openfire/bin/openfire  

 

INSTALL4J_ADD_VM_PARAMS="-Xms1024m -Xmx2048m"

 

but in   Openfire 3.3.2  in can not find /opt/openfire/bin/openfire there in another file /opt/openfire/bin/openfire.sh

 

Now help to increase jave memory as default 64 Mb is very low.

 

 

Regards,

 

 

Shahzad Abid

Daryl Herzmann KeyContributor 764 posts since
Mar 12, 2005
Currently Being Moderated
Jul 12, 2007 5:24 AM in response to: Shahzad Abid
Re: How to increase JAVA  Memory in Openfire 3.3.2

Greetings,

 

Add a line like this in /etc/sysconfig/openfire

 

OPENFIRE_OPTS="-Xms256m -Xmx512m"

 

daryl

andrew Bronze 15 posts since
Jun 6, 2007
Currently Being Moderated
Jul 18, 2007 5:24 PM in response to: Shahzad Abid
Re: How to increase JAVA  Memory in Openfire 3.3.2

For some reason I am not locating these files

 

Im running Openfire 3.3.2, Windows XP . using a MySQL DB

Coolcat KeyContributor 793 posts since
Mar 19, 2007
Currently Being Moderated
Jul 19, 2007 12:57 AM in response to: andrew
Re: How to increase JAVA  Memory in Openfire 3.3.2

See install-guide.

 

>Custom Parameters

>

>Advanced users may wish to pass in parameters to the Java virtual machine (VM) to customize the runtime environment of Openfire. You can do this by creating vmoptions files in the bin/ directory of your Openfire installation. For the Windows service, you''d create a new text file called openfire-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 openfired.vmoptions (since the openfire.exe launcher invokes the openfired.exe executable to actually start the server).

  6 posts since
Jun 29, 2007
Currently Being Moderated
Jul 20, 2007 4:30 PM in response to: andrew
Re: How to increase JAVA  Memory in Openfire 3.3.2
glish_dreams wrote:

For some reason I am not locating these files

 

Im running Openfire 3.3.2, Windows XP . using a MySQL DB

 

If you are using windows, in the bin folder under your openfire directory, you need to create/edit 1 of two files.

 

If running via the GUI console, create/edit the file ''openfired.vmoptions''.

 

In this file, add the following lines...

 

-Xms512m

-Xmx1024m

 

If you are running as a service, copy the file to another file named, ''openfire-service.vmoptions''.

 

Hope this helps.

 

Message was edited by: ldove

More Like This

  • Retrieving data ...

Bookmarked By (0)