I am testing Openfire scallability for offline messages using MySQL database. Right now I have approx 40K messages for one user in the jiveOffline table. When I connect a client I wrote using Smack API, the server very quickly throws:
2007.08.31 09:13:17 org.jivesoftware.openfire.nio.ConnectionHandler.exceptionCaught(ConnectionHandl er.java:109)
java.lang.OutOfMemoryError: Java heap space
I have seen instructions on changing the java heap settings for Windows and Linux, but I can’t find any instructions for MAC. For the matter, event the installation instructions don’t mention anything for MAC despite the fact that Openfire distribution is offered for this OS as well.While I fully realize that MAC OS sits on top of Linux, there are some differences in the installation.
So I have two requests:
Can someone please tell me which file needs the changes (adding OPENFIRE_OPTS="-Xms512m -Xmx1024m" to openfire.sh in /usr/local/openfire/bin didn’t make any difference.
Can you please update the documentation for MAC distribution.