java  -Xmx1000m  ....

Sorry if you already tried resizing your heap. Actually with 1.3.1 
you could go up above a gig, but really swapping aint gonna help much.

Winton


>I have been using Lucene for 3 weeks and it rules.
>
>The indexing process can be slow. So I searched the mailgroup archives
>and found example code using RAMDirectory to improve indexing speed.
>The example code I found was indexing 100,000 files at a time to the
>RAMDirectory before writing to disk.
>
>I tried indexing 10,000 files at a time to the RAMDirectory before writing
>to disk. This drastically improved indexing times but sometimes I get
>"out of memory" errors. I am indexing text files and adding 9 fields from
>an Oracle database.
>
>Environment:
>Solaris 2.8 with 1G of ram and 2G of swap
>Java 1.3.1
>Lucene 1.2-rc4
>
>Any ideas for eliminating the "out of memory" errors ?
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


-- 

Winton Davies
Lead Engineer, Overture (NSDQ: OVER)
1820 Gateway Drive, Suite 360
San Mateo, CA 94404
work: (650) 403-2259
cell: (650) 867-1598
http://www.overture.com/


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to