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 openfire.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).
Please make a step by step procedures from your answer from start to end.
Specially this steps,
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).
This community consists of volunteers only doing something in their spare time. So demanding fast (especially immediate…) response is not suitable and will only turn people off from you.
I think the instructions are clear enough. If you are using Openfire with a launcher (i presume on Windows as you haven’t specified this), then: Stop Openfire, go to its installation folder, go to bin folder, create a text file openfired.vmoptions (it is imporant not to have openfired.vmoptions.txt, vmoptions has to be its extenension, not txt). Edit that file and put your desired memory min and max values. In the example they are:
-Xms512m
-Xmx1024m
Depends on your available memory and Java restrictions. Save that file. Start Openfire with a launcher. Check Admin Console. It should show changed Java Memory max value.