Re: out-of-memory when searching, paging does not work.

2006-06-04 Thread Beady Geraghty
#a3833741 : Date: Sun, 14 May 2006 15:34:08 -0400 : From: Beady Geraghty [EMAIL PROTECTED] : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache.org : Subject: Re: out-of-memory when searching, paging does not work. : : Here is the gist of the code: : : Query query = new

out-of-memory when searching, paging does not work.

2006-05-14 Thread Beady Geraghty
I have an out-of-memroy error when returning many hits. I am still on Lucene 1.4.3 I have a simple term query. It returned 899810 documents. I try to retrieve the name of each document and nothing else and I ran out of memory. Instead of getting the names all at once, I tried to query again

Re: out-of-memory when searching, paging does not work.

2006-05-14 Thread Erik Hatcher
Could you share at least some pseudo-code of what you're doing in the loop of retrieving the name of each document? Are you storing all of those names as you iterate? Have you profiled your application to see exactly where the memory is going? It is surely being eaten by your own code