How to Increase the Java Memory Available for an Openfire Server on Centos

  1. Stop the openfire service

    > service openfire stop

  2. Add the line below to this file: /etc/sysconfig/openfire

    > viĀ /etc/sysconfig/openfire

    OPENFIRE_OPTS=”-Xms256m -Xmx512m”

  3. Start the openfire service

    > service openfire start

  4. Success!

Was this blog post helpful for you?

Support my blog and donate!

My blog is open to the public and will always be freely available. With your donation, we can help others learn, together.

Donate in Bitcoin: