lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: Several builds hanging pecause of permgen
Date Tue, 09 Jul 2013 07:51:43 GMT
> 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


Mime
View raw message