lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Regarding Lucene Query
Date Sun, 25 Sep 2011 14:50:40 GMT
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.


On Sat, Sep 24, 2011 at 11:51 PM, Yogesh patel
<> wrote:
> 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 100000. 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 from it.
> Awaiting  for your positive reply.
> Thanks

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message