This Question is Not Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (5 pts)
8 Replies Last post: May 14, 2008 10:33 AM by Martyn Baker  
Martyn Baker Silver 134 posts since
Mar 13, 2006
Currently Being Moderated

May 2, 2008 2:05 AM

Out of Memory - Java Heap Space

 

Hi Guys

 

 

I'm still getting numerous out of memory errors, even when setting the paramters -Xms128m -Xmx256m -Xss128k -Xoss128k -XX:ThreadStackSize=128 - the server seems to stay up and running for a day or a bit over with around 70 concurrent users. Once the server runs out of memory, I can't get onto the admin console and no one can login.

 

 

 

 

2007.05.03 07:44:34 org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManage r.java:1027)

java.lang.OutOfMemoryError: Java heap space

 

 

 

 

The server is a decent spec with 2Gb RAM running CentOS 5.1 and I'm sure this didn't happen when I was running 3.4.1 - I upgraded straight to 3.5.1

 

 

 

 

Any thoughts ?

 

 

 

 

 

 

Martyn

 

 

Daniel Henninger Jiver 2,933 posts since
Aug 10, 2005
Currently Being Moderated
May 2, 2008 8:03 AM in response to: Martyn Baker
Re: Out of Memory - Java Heap Space

Have you tried increasing the memory available to Openfire?  I see you are limiting it to 256MB.  It's possible we hit a threshold where we may need to suggest higher settings.  Of course, if it's a steady 70 concurrent users, I wouldn't think it would run itself out of memory that fast.  It ought to at least stay fairly steady.  Would you mind bumping slightly and seeing if all that it accomplishes is making it last a little longer before it runs out?

Daniel Henninger Jiver 2,933 posts since
Aug 10, 2005
Currently Being Moderated
May 2, 2008 8:17 AM in response to: Martyn Baker
Re: Out of Memory - Java Heap Space

Hrm.  Sounds like some sort of memory leak is getting you.  What plugins do you have installed?  What Java version?

More Like This

  • Retrieving data ...