Classes get saved in PermGen and are never freed. Apparently there are JVM options to fix this. I'm not sure if the old String.intern() use in Lucene had this problem.
Lance On Wed, Mar 2, 2011 at 10:23 PM, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : When I did heap analysis, the culprit always seems to > : be TimeLimitedCollector thread. Because of this, considerable amount of > : classes are not getting unloaded. > ... > : > > There are couple of JIRA's related to this: > : > > https://issues.apache.org/jira/browse/LUCENE-2237, > : > > https://issues.apache.org/jira/browse/SOLR-1735. Even after applying > : > these > : > > patches, the issue still remains. > > can you clarify what you mean by this -- are you still seeing that > TimeLimitedCollector is the culprit in your heap analysis (even with the > patches) or are you still getting problems with PermGen running out, but > it's caused by other classes and TimeLimitedCollector is no longer the > culprit? (and if so: which other classes) > > FYI: LUCENE-2822 is realted to LUCENE-2237 and has attracted some more > attention/comments (i suspect largely because it was filed as a bug > instead of an improvement) > > > -Hoss > -- Lance Norskog goks...@gmail.com