You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Jim Rollo <ad...@warthong.org> on 2007/10/21 06:10:55 UTC

more out of memory on 2.3.1

Hello,

I'm trying to track down the root cause of this:

"Exception in thread "CompilerThread1" java.lang.OutOfMemoryError:
requested 134217744 bytes for Chunk::new. Out of swap space?
"

This occurs about every hour, on a server running a fairly small amount
of users.  I set the JVM Xmx to 512mb.  Before I try setting it to
1024mb (the max phys capacity) is there something else I should be
looking at?

Thanks,


Jim

---------------------------------------
Support Open Source,
Demand Quality Software

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: more out of memory on 2.3.1

Posted by Jim Rollo <ad...@warthong.org>.
Thanks for the leads...

I upgrade the JRE to 1.6 (opensuse 10.3) and the problem has not
manifested itself since.


Should it happen again, I'll post more details in case any else runs
into similar circumstances
On Sun, 2007-10-21 at 14:47 +0200, Stefano Bagnara wrote:
> Jim Rollo ha scritto:
> > Hello,
> > 
> > I'm trying to track down the root cause of this:
> > 
> > "Exception in thread "CompilerThread1" java.lang.OutOfMemoryError:
> > requested 134217744 bytes for Chunk::new. Out of swap space?
> > "
> > 
> > This occurs about every hour, on a server running a fairly small amount
> > of users.  I set the JVM Xmx to 512mb.  Before I try setting it to
> > 1024mb (the max phys capacity) is there something else I should be
> > looking at?
> > 
> > Thanks,
> 
> First thing first: if you can upgrade your JVM to the latest java 6 or
> the latest java 5 from SUN. Make sure you have the last version.
> 
> Second: what is you current JVM and your current OS?
> 
> Third: maybe incrementing the Xmx is what create this specific error.
> The JVM ask memory to the OS that is not able to satisfy the VM
> requirements. You should better reduce the Xmx and if you start getting
> *different* OOM from the JVM then you should analyze the heap content.
> 
> Stefano
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 

---------------------------------------
Support Open Source,
Demand Quality Software

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: more out of memory on 2.3.1

Posted by Stefano Bagnara <ap...@bago.org>.
Jim Rollo ha scritto:
> Hello,
> 
> I'm trying to track down the root cause of this:
> 
> "Exception in thread "CompilerThread1" java.lang.OutOfMemoryError:
> requested 134217744 bytes for Chunk::new. Out of swap space?
> "
> 
> This occurs about every hour, on a server running a fairly small amount
> of users.  I set the JVM Xmx to 512mb.  Before I try setting it to
> 1024mb (the max phys capacity) is there something else I should be
> looking at?
> 
> Thanks,

First thing first: if you can upgrade your JVM to the latest java 6 or
the latest java 5 from SUN. Make sure you have the last version.

Second: what is you current JVM and your current OS?

Third: maybe incrementing the Xmx is what create this specific error.
The JVM ask memory to the OS that is not able to satisfy the VM
requirements. You should better reduce the Xmx and if you start getting
*different* OOM from the JVM then you should analyze the heap content.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org