Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: Exception i...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 711 of 833
Post > Topic >>

Re: Exception in thread "CompilerThread0" java.lang.OutOfMemoryError

by dsjoblom@[EMAIL PROTECTED] Aug 30, 2006 at 07:53 AM

ramdas.hegde@[EMAIL PROTECTED]
 wrote:
> I get the following error when running my application using JDK
> 1.4.2_07 on a Debian Linux box.
>
> Exception in thread "CompilerThread0" java.lang.OutOfMemoryError:
> requested 1634084 bytes for Chunk::new. Out of swap space?
>
> The JVM has been allocated a max of 1.5GB of heap and the system itself
> has 3GB of physical memory. The JVM crashes randomly and the system
> seems to have enouugh physical memory and swap space when this happens.
>
> Some of the other params that are relevant here are : number of threads
> running within the JVM is around 520 and the stack size is set to 512
>
> Looks like this error has been re****ted as a bug against some VMs in
> Sun's bug db but there is no definite fix that is specified. It also
> seems to be happening across many different JVM versions.
>
> Any clues on how to debug this?

What exact flags are you passing to the VM? It seems like you are
running out of perm space, used for miscellanious VM structures that
are not regular objects. You could try increasing the perm space size
with -XX:MaxPermSize. The defaults are (IIRC) 32 MB for the client VM
and 64 MB for the server VM.

Regards,
Daniel Sj=F6blom
 




 2 Posts in Topic:
Exception in thread "CompilerThread0" java.lang.OutOfMemoryError
ramdas.hegde@[EMAIL PROTE  2006-08-18 11:07:57 
Re: Exception in thread "CompilerThread0" java.lang.OutOfMemoryE
dsjoblom@[EMAIL PROTECTED  2006-08-30 07:53:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 14:24:50 CDT 2008.