JDK7 perm gen leak

Jon Masamitsu jon.masamitsu at oracle.com
Mon Sep 12 10:25:19 PDT 2011

On 09/12/11 08:03, Scott Oaks wrote:
> I am trying to track down a permgen leak in an app we have running JDK 
> 7. When I run jmap -permstat, I'm a little confused by the output.
> The first line of the jmap output is:
> 304286 intern Strings occupying 48081424 bytes.
> But I thought that the interned strings were moved out of permgen in 
> JDK 7? Maybe that output is just left over from JDK 6.

Yes, the strings were moved out of the perm gen.  The numbers from
the output are generated from the internal StringTable.  I believe
the numbers are correct but perhaps shouldn't be printed out
for  -permstat.

More information about the hotspot-dev mailing list