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_rosent...@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.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
>>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to