Re: OutOfMemoryError with Lucene 1.4 final

2004-12-10 Thread Jin, Ying
Great!!! It works perfect after I setup -Xms and -Xmx JVM command-line parameters with: java -Xms128m -Xmx128m It turns out that my JVM is running out of memory. And Otis is right on my reader closing too. reader.close() will close the reader and release any system resources associated with it.

Re: OutOfMemoryError with Lucene 1.4 final

2004-12-10 Thread Xiangyu Jin
Ok, I see. Seems most ppl think is the third possiblity On Fri, 10 Dec 2004, Xiangyu Jin wrote: > > I am not sure. But guess there are three possilities, > > (1). see that you use > Field.Text("contents", stringBuffer.toString()) > This will store all your string of text into document object. >

Re: OutOfMemoryError with Lucene 1.4 final

2004-12-10 Thread Xiangyu Jin
I am not sure. But guess there are three possilities, (1). see that you use Field.Text("contents", stringBuffer.toString()) This will store all your string of text into document object. And it might be long ... I do not know the detail how Lucene implemented. I think you can try use unstored fir

Re: OutOfMemoryError with Lucene 1.4 final

2004-12-10 Thread Justin Swanhart
:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 11:15 AM > To: [EMAIL PROTECTED] > Subject: OutOfMemoryError with Lucene 1.4 final > > Hi, Everyone, > > We're trying to index ~1500 archives but get OutOfMemoryError about > halfway through the index process. I've t

RE: OutOfMemoryError with Lucene 1.4 final

2004-12-10 Thread Otis Gospodnetic
10, 2004 11:15 AM > To: [EMAIL PROTECTED] > Subject: OutOfMemoryError with Lucene 1.4 final > > Hi, Everyone, > > > > We're trying to index ~1500 archives but get OutOfMemoryError about > halfway through the index process. I've tried to run program under > two &

OutOfMemoryError with Lucene 1.4 final

2004-12-10 Thread Jin, Ying
Hi, Everyone, We're trying to index ~1500 archives but get OutOfMemoryError about halfway through the index process. I've tried to run program under two different Redhat Linux servers: One with 256M memory and 365M swap space. The other one with 512M memory and 1G swap space. However, both got

RE: OutOfMemoryError with Lucene 1.4 final

2004-12-10 Thread Sildy Augustine
PROTECTED] Subject: OutOfMemoryError with Lucene 1.4 final Hi, Everyone, We're trying to index ~1500 archives but get OutOfMemoryError about halfway through the index process. I've tried to run program under two different Redhat Linux servers: One with 256M memory and 365M swap space.