Re: lucene java OOM while sorting more than one field

2008-02-27 Thread Erick Erickson
The first question is always "how much memory are you giving your JVM?". A 256M index is pretty small, I wouldn't be surprised if your JVM is using some vary small default Best Erick On Wed, Feb 27, 2008 at 6:23 AM, GURUPRASAD MS <[EMAIL PROTECTED]> wrote: > Lucene Index contains 2.1 Milli

lucene java OOM while sorting more than one field

2008-02-27 Thread GURUPRASAD MS
Lucene Index contains 2.1 Million records (indexed from 2.1 million records from sqlserver DB). Lucene Index file Size 256MB Lucene version: 2.3 Searching works fine when we sort the results on a single field. However, if the search results is sorted on more than one field we get Out of Memory exc