Re: Regarding Lucene Query

2011-09-25 Thread Erick Erickson
Can we see the code you change when you get this error? The easiest thing to do is to increase the memory given the JVM with -Xmx. How big are the documents? Are you saying you're returning 100,000 docs at once? If so, the -Xmx should be all you need. Best Erick On Sat, Sep 24, 2011 at 11:51 PM

Regarding Lucene Query

2011-09-25 Thread Yogesh patel
Respected, Hello, I am using lucene with my java application. I am having one confusion. I want to paginate my search and want 20-30 results and total results are 10. So When i query in application, it gives me heap space error. So can we fire lucene query so we can only get 20-30 results fro