Re: Re[2]: OutOfMemory with search(Query, Sort)

2006-04-04 Thread Chris Hostetter
: sort by filePath field which can be 100 bytes at average meaning 400M : RAM for the cache : : Well, it's probably not quite that bad... : : For string sorting, a FieldCache.StringIndex is used. : It contains a sorted String[num_unique_terms_in_field], and an int[maxDoc] : So if 10 documents

Re[2]: OutOfMemory with search(Query, Sort)

2006-04-01 Thread Artem Vasiliev
Hello Yonik, Thanks, it explains my issue and that's definitely a hit - I tried to sort by filePath field which can be 100 bytes at average meaning 400M RAM for the cache + IO excess to load them from 3G index. I wish this caching were configurable as lazy or switched off, do you know if that's

Re: Re[2]: OutOfMemory with search(Query, Sort)

2006-04-01 Thread Yonik Seeley
On 4/1/06, Artem Vasiliev [EMAIL PROTECTED] wrote: I tried to sort by filePath field which can be 100 bytes at average meaning 400M RAM for the cache Well, it's probably not quite that bad... For string sorting, a FieldCache.StringIndex is used. It contains a sorted