why perm generation is continuously increasing?

Li Li fancyerii at gmail.com
Thu Feb 16 04:53:59 PST 2012


I got it. we use String.intern for temporary variables.
I used jmap -permstat and found that.
btw jmap -permstat will cause jvm hang and should be carefully used.
it hangs for a few minutes!

On Thu, Feb 16, 2012 at 6:55 PM, Li Li <fancyerii at gmail.com> wrote:

> hi all,
>     I found our application's perm generation size is continuously
> increasing and will reach 100%(we limit maxPermSize to 256MB) and perform a
> full gc(which will pause for 10s).after gc, perm size usage falls to  about
> 50% and again increasing. what kind of objects will be allocated to perm
> generation? we don't use reflection in our application.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20120216/e458df77/attachment.html 


More information about the hotspot-gc-use mailing list