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[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