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:

OPENFIRE_OPTS="-Xms256m -Xmx512m"

Your config will be somewhere in /etc depending on your Linux flavour.


Tags: , , ,

2 responses to “How To Increase Ignite OpenFire Server Java Memory”

  1. Eugene Mayevski says :

    Thank you for mentioning the file! Other suggestions say about the Java options but don’t say where to put them in Windows.

  2. ITguy says :

    This works fine, thanks!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: