I am still using XEmacs and need to give Eclipse another try.  The last
time I tried Eclipse, some 6-12 months ago, I remember seeing Eclipse
forcing garbage collection somehow.  Thus, I would guess the
command-line behaviour is probably correct and there is indeed a bug in
Lucene's sorting.

Otis


--- Daniel Naber <[EMAIL PROTECTED]> wrote:

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to