I don't use any garbage collection parameters. /Tim
2010/2/8 Simon Rosenthal <simon_rosent...@yahoo.com>: > What Garbage Collection parameters is the JVM using ? the memory will not > always be freed immediately after an event like unloading a core or starting > a new searcher. > > 2010/2/8 Tim Terlegård <tim.terleg...@gmail.com> > >> To me it doesn't look like unloading a Solr Core frees the memory that >> the core has used. Is this how it should be? >> >> I have a big index with 50 million documents. After loading a core it >> takes 300 MB RAM. After a query with a couple of sort fields Solr >> takes about 8 GB RAM. Then I unload (CoreAdminRequest.unloadCore) the >> core. The core is not shown in /solr/ anymore. Solr still takes 8 GB >> RAM. Creating new cores is super slow because I have hardly any memory >> left. Do I need to free the memory explicitly somehow? >> >> /Tim >> >