powered by Jive Software

Java Out of Memory Errors

Server 2008 R2

Java 7.U21

Openfire 3.81 + Fastpath.

I can only get about 5-7 days of uptime and then I start getting Java out of memory errors. This is a VM with 8 cores and 8GB of ram dedicated to it but I have never been able set Openfire to use more then 1024.

Running Openfire as a service, I have setup the openfire-server.vmoptions file with this in it.

-Xms256m

-Xmx1024m

If I increase it higher then 1024 the service will not start.

I have about 500 users on the server and more planned if I can keep it stable.

No one can help?

Do you use the 32 or the 64 bit JVM?

There is an issue with Pubsub / OOM, “As a workaround, you can disable PEP, by adding the system property xmpp.pep.enabled and setting it to false.”.

Also the internal database and archiving may cause OOM errors.

32bit, I was never able to get 64bit to work for me, Openfire kept saying it could not find it.

Already set xmpp.pep.enabled to false

Database is MS-SQL

but I am using archving. I have idle time and max time to set to 360 mins to stop the chats from being chopped up so much.