In our custom sort code we had many issues. We fixed most of them by
implementing hashcode and equals and then needed to have a WeakReference to
the IndexReader. Once we did this our memory problems have mostly gone
away. Thanks.
On Feb 19, 2008 7:37 AM, Peter Keegan <[EMAIL PROTECTED]> wrote:
Hi Brian,
I ran into something similar a long time ago. My custom sort objects were
being cached by Lucene, but there were too many of them because each one had
different 'reference values' for different queries. So, I changed the equals
and hashcode methods to NOT use any instance data, thus avoi