How to increase Openfire 3.6.4 Java Memory

Hi, I am using Openfire 3.6.4, In console login, java memory is showing 95% used. My operating system is window server 2008.

Please help me, how to increase Java memory ?

I did it before in windows server 2008

go to

C:\Program Files\Openfire\bin (openfire path)

open three files using notepad

openfire.vmoptions

openfired.vmoptions

**openfire-service.vmoptions
**

and put this

-Xms265m

-Xmx512m

where 265 mega will be minimum memory for openfire

and 512 mega will be maximum memory for openfire

you can change this values as you need

then restart openfire and check the memory

Note:

**don’t increse memory more than RAM memory
**

** First off all there was no such file in mentioned path. I have created 3 files on above name. And **

** added,**


-Xms265m

-Xmx512m


Then started Open fire, but still it is showing 63 MB. Problem is not resolved.

Can any body help me on this ? Please see my comments up.

Look at this link

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’’.

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

In this file, add the following lines…

-Xms512m

-Xmx1024m

I run it from GUI and did as above. It worked great

Good luck