PermGen problem jmap/jhat leads to dead end

Keith McNeill mcneill at streambase.com
Mon Dec 14 14:51:11 PST 2009


Yep, in test only.

So using JDK 7 the Perm Gen problem seems to be fixed.  PermGen went up 
& down with loading and unloading our our classes.  Is that fix going to 
be back ported to 1.6?

But, I'm now getting code cache problems (I assume).  After a few rounds 
when I try to reload my test class I get OutOfMemoryErrors.  Using 
jconsole:  PermGen is fine, heap is fine, but CodeCache appears to be full:

Used: 49,060 kbytes
Committed: 49,152 kbytes
Max: 49,152 kbytes

Keith


Y. Srinivas Ramakrishna wrote:
> On 12/14/09 14:21, Y. Srinivas Ramakrishna wrote:
> ...
>> Keith, the simplest thing for you to do (if on Solaris
>> or Linux) might be to simply pick up the relevant libjvm.so
>> from JDK 7 and drop it into your 6uXX installation
>> and run with it.
>
> Just so there is no misunderstanding; i meant that only as a test.
> Not for production loads!!
>
> -- ramki




More information about the hotspot-dev mailing list