Re: Need help with SolrIndexSearcher & CoreContainer

2008-11-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
Look at the class SolrDispatchFilter which explains how exactly it is done. Ensure that you do proper ref decrements after using core/indexsearcher On Mon, Nov 17, 2008 at 3:55 PM, Kraus, Ralf | pixelhouse GmbH <[EMAIL PROTECTED]> wrote: > Hi, >> >> After 5-6 searches I run out of memory :-( >>

Re: Need help with SolrIndexSearcher & CoreContainer

2008-11-17 Thread Kraus, Ralf | pixelhouse GmbH
Hi, After 5-6 searches I run out of memory :-( Examples: String homeDir = "/var/lib/tomcat5.5/webapps/solr"; File configFile = new File( homeDir, "solr.xml" ); CoreContainer myCoreContainer = new CoreContainer( homeDir, configFile ); mySolrCore = myCoreContainer