On Sunday 19 September 2004 21:13, Otis Gospodnetic wrote: > It would be good to take care of that memory leak issue that comes up > when people use sorting. Dave Spencer found one Comparator or Map or > something that looked suspicious.
Yes, the "Comparator" WeakHashMap in FieldSortedHitQueue always grows and never deletes entries. I can reproduce that (i.e. the OutOfMemoryError), but only on the command line, not inside Eclipse. It looks like whether the class works without OutOfMemory depends on some implementation detail of the garbage collection. Regards Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]