lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: OutOfMemory during optimize
Date Fri, 23 Dec 2005 06:54:16 GMT
We increase system parameter "max number open files". For do it use command
ulimit -n [max number]. 

-----Original Message-----
From: Steve Rajavuori [] 
Sent: Friday, December 23, 2005 12:42 AM
Subject: OutOfMemory during optimize

I am periodically getting "Too many open files" error when searching.
Currently there are over 500 files in my Lucene directory. I am attempting
to run optimize( ) to reduce the number of files. However, optimize never
finishes because whenever I run it, it quits with a Java exception
OutOfMemory error. I have tried using the -Xmx and -Xms switches to increase
heap size, but that has not helped.
Any suggestions?
Steve Rajavuori
OPIN Systems

Voice: 651-994-6556
Fax:   651-994-7828

2600 Eagan Woods Dr., Suite 400
Eagan, MN  55121

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

View raw message