CompilerThread0: OutOfMemoryError Chunk::new Out of swap space?

Ivan Krylov Ivan.Krylov at Sun.COM
Fri Dec 26 16:04:17 PST 2008


Hi Nitin,

This problem was never observed on any jdk versions later then 1.4.2.
Reading the related bugs note I see a suggestion to use a VM option -XX:ThreadStackSize
instead of Xss. Note sure why this makes a difference.

What is the OS version that you are using?
Depending on the OS and configuration there are different limitations on the maximum address space.
Roughly speaking if you subtract some 200M from that maximum and divide it by stack size - that is how many threads you may create.

Hope this helps,

Ivan


Nitin Verma wrote:
> Hi All,
> 
> Is HotSpot bug solved in 1.7?
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4916142
> If not is there a workaround else than reducing -Xss?
> 
> Regards,
> 
> Nitin Verma




More information about the hotspot-runtime-dev mailing list