Out of memory issues in Openfire
We are constantly getting following errors in Openfire 3.6.4 installation:java.lang.OutOfMemoryError: GC overhead limit exceededIt turns out that it’s a common error for 3.6.4. Read this announcement Suffering from memory-related issues in Openfire? Read this! and this forum thread Openfire 3.6.4 memory leak with Empathy.
java.lang.OutOfMemoryError: Java heap space
This error is related to memory leak in PEP which implements extended statuses. Since we don’t use them we just switched PEP off. Go to your Openfire admin console, select Server->Server Manager->System Properties at the bottom add property xmpp.pep.enabled value false. Restart server.