Hi, Yeah, and permgen is not included in the dump :( http://stackoverflow.com/questions/4080010/how-to-dump-permgen So you can only look at a live JVM, which is hard because you don't know when it dies. Once it died, it's too late as jmap in most cases cannot connect anymore (and only kill -9 helps to kill).
Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Dawid Weiss > Sent: Tuesday, July 09, 2013 9:52 AM > To: [email protected] > Subject: Re: Several builds hanging pecause of permgen > > > How do I get the number of interned Strings from jvisualvm? > > Don't know about jvisualvm but: > > "The jmap -permgen command prints statistics for the objects in the > permanent generation, including information about internalized String > instances. See 2.7.4 Getting Information on the Permanent > Generation." > > http://www.oracle.com/technetwork/java/javase/tooldescr- > 136044.html#gblmm > > There's also a magic switch to hotspot that dumps those strings: > > product(bool, PrintStringTableStatistics, false, \ > "print statistics about the StringTable and SymbolTable") \ > \ > notproduct(bool, PrintSymbolTableSizeHistogram, false, \ > "print histogram of the symbol table") \ > > > D. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] For additional > commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
