lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Several builds hanging pecause of permgen
Date Tue, 09 Jul 2013 08:01:15 GMT
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: uwe@thetaphi.de


> -----Original Message-----
> From: dawid.weiss@gmail.com [mailto:dawid.weiss@gmail.com] On Behalf
> Of Dawid Weiss
> Sent: Tuesday, July 09, 2013 9:52 AM
> To: dev@lucene.apache.org
> 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: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message