Re: follow up of Lucene out of memory with RAMDirectory on J2EE environment

2008-09-14 Thread Michael McCandless
I just committed this, so the fix will be in 2.4. Thanks for raising this Chris! Mike Chris Lu wrote: Just confirmed the fix for this problem is ready in patch LUCENE-1383 Thanks Robert Engels for arguing with me and understand the problem

Re: follow up of Lucene out of memory with RAMDirectory on J2EE environment

2008-09-13 Thread Chris Lu
Just confirmed the fix for this problem is ready in patch LUCENE-1383 Thanks Robert Engels for arguing with me and understand the problem quickly, and contributed a ClosableThreadLocal class, although the problem itself is hard to reproduce for hi

follow up of Lucene out of memory with RAMDirectory on J2EE environment

2008-09-10 Thread Chris Lu
This usually happens on J2EE environment, if you use RAMDirectory. Before Lucene-1195.(svn r659602, May23,2008), if you close() RAMDirectory, the resources will be released right away. After Lucene-1195.(svn r659602, May23,2008),If you simply close() the RAMDirectory, there will be an undetermined