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