RE: Re[2]: Is IndexSearcher thread safe?

2005-03-01 Thread Cocula Remi
I probably had the same trouble (but I'm not sure). I have run a test programm that was creating a lot of IndexSearchers (but also close and free them). It went to an outOfMemory Exception. But i'm not finished with that problem (need to use a profiler). >But I have discovered one strange fact

RE: Is IndexSearcher thread safe?

2005-03-01 Thread Cocula Remi
>Additional question. >If I'm sharing one instance of IndexSearcher between different threads >Is it good to just to drop this instance to GC. >Because I don't know if some thread is still using this searcher or done >with it. Note that as far as one of the threads keep a reference on the Inde

Re[2]: Is IndexSearcher thread safe?

2005-03-01 Thread Yura Smolsky
Hello, Volodymyr. VB> Additional question. VB> If I'm sharing one instance of IndexSearcher between different threads VB> Is it good to just to drop this instance to GC. VB> Because I don't know if some thread is still using this searcher or done VB> with it. It is safe to share one instance betw

Re: Is IndexSearcher thread safe?

2005-03-01 Thread Volodymyr Bychkoviak
Additional question. If I'm sharing one instance of IndexSearcher between different threads Is it good to just to drop this instance to GC. Because I don't know if some thread is still using this searcher or done with it. Regards, Volodymyr Bychkoviak Volodymyr Bychkoviak wrote: Is it thread-saf

Is IndexSearcher thread safe?

2005-03-01 Thread Volodymyr Bychkoviak
Is it thread-safe to share one instance of IndexSearcher between multiple threads? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]