lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: unloading a solr core doesn't free any memory
Date Tue, 09 Feb 2010 05:00:50 GMT
The 'jconsole' program lets you monitor GC operation in real-time.

http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html

On Mon, Feb 8, 2010 at 8:44 AM, Simon Rosenthal
<simon_rosenthal@yahoo.com> wrote:
> 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.terlegard@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
>>
>



-- 
Lance Norskog
goksron@gmail.com

Mime
View raw message