OOM error

Neo Jia neojia at gmail.com
Tue Nov 27 22:46:20 UTC 2007


Could you send out the whole GC log file you have?

Thanks,
Neo

On Nov 27, 2007 2:33 PM, Anuj Lal <alal at hotwire.com> wrote:
>
>
>
>
> Jdk version
>
> 1.5.0_13
>
> Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested
> 32756 bytes for ChunkPool::allocate. Out of swap space?
>
> Java Result: 1
>
>
>
> We are already setting
>
> -XX:ReservedCodeCacheSize=64M
>
>
>
> As per discussion in thread
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5075468
>
>
>
> I am sure we have enough heap as well as swap space available.
>
>
>
> I am wondering above bug is fixed for 1.5.13?
>
> What is better option increasing -XX:ReservedCodeCacheSize or decreasing
> heap size so that we have more non heap memory available?
>
>
>
> Thanks
>
> ANuj
>
>
>
>
>
>  Jvm parameter
>
> with -Xms2560m  -Xmx2560m -XX:MaxPermSize=256M
>
> -XX:+UseConcMarkSweepGC
>
> -XX:+UseParNewGC
>
> -XX:+CMSParallelRemarkEnabled
>
> -XX:+UseCMSCompactAtFullCollection
>
> -XX:CMSFullGCsBeforeCompac
>
> tion=0 -XX:+HandlePromotionFailure
>
> -XX:CMSInitiatingOccupancyFraction=68
>
>  -XX:+UseCMSInitiatingOccupancyOnly –
>
> -XX:CMSMarkStackSize=32M
>
> XX:CodeCacheMinimumFreeSpace=2M
>
> -XX:ReservedCodeCacheSize=64M
>
> -XX:NewSize=512M -XX:MaxNewSize=51
>
> 2M -XX:MaxTenuringThreshold=6 -XX:SurvivorRatio=5 -XX:TargetSurvivorRatio=
>
>  -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
> -XX:CMSMaxAbortablePrecleanTime=1
>
>
>
>
>
> wlstart:
>
> par new generation   total 449408K, used 50959K [0x46400000, 0x66400000,
> 0x66400000)
>
>   eden space 374528K,   0% used [0x46400000, 0x46400000, 0x5d1c0000)
>
>   from space 74880K,  68% used [0x61ae0000, 0x64ca3ed0, 0x66400000)
>
>   to   space 74880K,   0% used [0x5d1c0000, 0x5d1c0000, 0x61ae0000)
>
>  concurrent mark-sweep generation total 2097152K, used 1071568K [0x66400000,
> 0xe6400000, 0xe6400000)
>
>  concurrent-mark-sweep perm gen total 211688K, used 127055K [0xe6400000,
> 0xf32ba000, 0xf6400000)
>
> }
>
> , 0.5049826 secs]
>
>
>
> Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested
> 32756 bytes for ChunkPool::allocate. Out of swap space?
>
> Java Result: 1



-- 
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!



More information about the hotspot-gc-dev mailing list