powered by Jive Software

Modify startup file openfire.sh

I added JVM memory by modifying / bin / openfire. sh.
OPENFIRE_OPTS+=" -Xmn512M -Xms2048M -Xmx4096M",
I only saw in the installation guide, - Xms, and - Xmx.(http://download.igniterealtime.org/openfire/docs/latest/documentation/install-guide.html)
I don’t know if the value of - Xmn has any effect on the system.
Hope the friend who is familiar with JVM answers!

-Xmn is the size of the heap for the young generation.

If you’re not sure what that is, I suggest leaving it alone.

FWIW, more recent versions of Java require far less tuning, IME, than earlier ones.

Greg

1 Like

Thank you. I’ll take it off.