You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ryan McKinley <ry...@gmail.com> on 2009/10/08 21:21:32 UTC
releasing memory?
Hello-
I have an application that can run in the background on a user Desktop
-- it will go through phases of being used and not being used. I want
to be able to free as many system resources when not in use as possible.
Currently I have a timer that wants for 10 mins of inactivity and
releases a bunch of memory (unrelated to lucene/solor). Any
suggestion on the best way to do this in lucene/solor? perhaps reload
a core?
thanks for any pointers
ryan
Re: releasing memory?
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Fri, Oct 9, 2009 at 12:51 AM, Ryan McKinley <ry...@gmail.com> wrote:
> Hello-
>
> I have an application that can run in the background on a user Desktop --
> it will go through phases of being used and not being used. I want to be
> able to free as many system resources when not in use as possible.
>
> Currently I have a timer that wants for 10 mins of inactivity and releases
> a bunch of memory (unrelated to lucene/solor). Any suggestion on the best
> way to do this in lucene/solor? perhaps reload a core?
>
Perhaps you can unload/create the core? We are planning to add start/stop
support to cores for our LotsOfCores effort.
http://wiki.apache.org/solr/LotsOfCores
--
Regards,
Shalin Shekhar Mangar.