powered by Jive Software

java.lang.OutOfMemoryError: GC overhead limit exceeded

Hi every side,

I am nuby with openfire 3.7.1 … or nearly.

I make it run on a debian 6.0.3

Since some times i get errors in the log file , because

the application is used with a lot of users

error =

java.lang.OutOfMemoryError: GC overhead limit exceeded

I loked to increase Xms and Xmx value while starting openfire

but so far could’nt find a directly lauching of java with specific parameters in the openfire script in /etc/init.d/openfire

How can i increase this value ?

When looking how this value are setup , i just could find some explanation saying

degaut value would be 64m or other thing.

but no command confirm this parameter value

While hopping to get some response here

I try to install VISUALVM to help myself

Thanks for your answer


Start by updating to 3.8.1 - There is a memory leak in 3.7.1.

You probably want to look at /etc/sysconfig/openfire to set parameters - Should be able to just read the init.d script to see what it runs.

What David said, about the update and the check the documentation about custom params to the VM.