|
|
Hello - opening a new IndexSearcher for every request is not the thing to do.
Reuse a single IndexSearcher instance. This must be in the FAQ. :)
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
> From: techkatta <techkatta@xxxxxxxxx>
> To: java-user@xxxxxxxxxxxxxxxxx
> Sent: Monday, February 18, 2008 10:19:04 AM
> Subject: Lucene in EJB enviornment
>
>
> I am using the Lucene in the EJB enviornment with Berkeley DB JE as a data
> store using the JCA on JBoss 4.2.0
>
> My question is using Lucene in EJB enviornment is suggestable or not ?
>
> For every request i am trying to open the IndexSearcher object and while
> exiting from the EJb i am closing. It's giving OutOfMemory issues in the
> production server after 2 to 3 hrs running.
>
> Can anybody the suggest the soultion for the above probelm ?
>
> Thanks,
> techkatta
>
>
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Lucene-in-EJB-enviornment-tp15546759p15546759.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
> For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx
|
|