I just did some allocation profiling on the stock Solr example... it's not completely idle when no requests are being made.
There's only one thing allocating memory: org.mortbay.util.Scanner.scanFiles() That must be Jetty looking to see if any of the files under webapps has changed. It's really nothing to worry about - there's no memory leaks, and the activity is extremely minimal, but if you want to shut it off, it would be a Jetty config option somewhere. -Yonik http://www.lucidimagination.com On Wed, Oct 14, 2009 at 12:26 PM, nonrenewable <nonrenewa...@gmail.com> wrote: > > I'm curious why this is occurring and whether i can prevent it. This is my > scenario: > > Locally I have an idle running solr 1.3 service using lucene 2.4.1 which has > an index of ~330K documents containing ~10 fields each(total size ~12GB). > Currently I've turned off all caching, lazy field loading, however i do have > facet fields set for some request handlers. > > What i'm seeing is heap space usage increasing by ~1.2MB per 2 sec (by > java.lang.String objects). I'm assuming they're being used by lucene but i > may be wrong about that, since i have no actual data to confirm it. Why > exactly is this happening, considering no requests are being serviced? > Shouldn't the memory usage stabilise with a certain set of information and > only be affected on requests? Additionally there is a full GC every half > hour, which seems very unreasonable on a machine that isn't actually being > used as a service. > > I really hope there's just a certain setting that i've overlooked, or a > concept i'm not understanding because otherwise this behaviour seems very > unreasonable... > > Thanks beforehand, > Tony > -- > View this message in context: > http://www.nabble.com/Solr-Lucene-keeps-eating-up-memory-while-idling-tp25894357p25894357.html > Sent from the Solr - User mailing list archive at Nabble.com. > >