How To Increase Ignite OpenFire Server Java Memory
So you run Openfire server and it keeps crashing at random, have you logged into the admin interface recently? If not, the chances are that it’s running low on Java memory for the app. There are various ways to fix this but by far the easiest and the least destructive is to simply up the memory bracket for the Java instance.
If you’re running the Windows version as a service simply open the install path of the Openfire server and hop into the bin folder (C:\Program Files\Openfire\bin).
In there create a file called openfire-service.vmoptions and in it include the following text:
This will set the minimum heap size to to 512mb and the max to 1024mb.
Alternatively, if you’re using the normal launcher simply do the same but name the file openfired.vmoptions
For the Linux users out there simply vi your openfire config and insert:
Your config will be somewhere in /etc depending on your Linux flavour.