[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    CompilerThread0: OutOfMemoryError Chunk::new Out of swap space?
From:       nitin.matrix () gmail ! com (Nitin Verma)
Date:       2008-12-31 11:15:37
Message-ID: 8ffd73620812310303g1587642aic42f5d37528c6b57 () mail ! gmail ! com
[Download RAW message or body]

+ Xiaojun.Zhang at Sun.COM
+ David.Korbel at Sun.com

On Wed, Dec 31, 2008 at 3:47 PM, Nitin Verma <nitin.matrix at gmail.com> wrote:
> address space is unlimited.
>
> ==
> $ ulimit -a
> cpu time (seconds)         unlimited
> file size (blocks)         unlimited
> data seg size (kbytes)     unlimited
> stack size (kbytes)        10240
> core file size (blocks)    0
> resident set size (kbytes) unlimited
> processes                  73728
> file descriptors           131072
> locked-in-memory size (kb) unlimited
> address space (kb)         unlimited
> file locks                 unlimited
> 1024
> 819200
> ==
>
>
> On Wed, Dec 31, 2008 at 3:45 PM, Nitin Verma <nitin.matrix at gmail.com> wrote:
>> Hi Ivan,
>>
>> $ java -version
>> java version "1.5.0_13"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
>> Java HotSpot(TM) Server VM (build 1.5.0_13-b05, mixed mode)
>>
>> $ uname -a
>> Linux <hostname> 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006
>> i686 i686 i386 GNU/Linux
>>
>> JBoss is running with following options:
>> java -Xms1740m -Xmx1740m -server -XX:+UseParallelGC
>> -XX:MaxPermSize=256m -Djava.awt.headless=true
>> -Djava.library.path=/home/y/lib -Djava.net.preferIPv4Stack=true
>> -Djava.endorsed.dirs=/home/y/libexec/jboss/lib/endorsed -classpath
>> /home/y/libexec/jboss/bin/run.jar:/home/y/libexec/java/lib/tools.jar
>> org.jboss.Main -c pm
>>
>> This is happening randomly on different cluster nodes.
>>
>> Regards,
>>
>> Nitin
>>
>> On Sat, Dec 27, 2008 at 5:34 AM, Ivan Krylov <Ivan.Krylov at sun.com> wrote:
>>> 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
>>>
>>>
>>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic