CompilerThread0: OutOfMemoryError Chunk::new Out of swap space?
Ivan.Krylov at Sun.COM
Fri Dec 26 16:04:17 PST 2008
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,
Nitin Verma wrote:
> Hi All,
> Is HotSpot bug solved in 1.7?
> If not is there a workaround else than reducing -Xss?
> Nitin Verma
More information about the hotspot-runtime-dev