Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

IndexWriter RAMBufferSizeMB memory leak?

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


deswiatlowski at syrres

Nov 6, 2009, 8:33 AM

Post #1 of 1 (94 views)
Permalink
IndexWriter RAMBufferSizeMB memory leak?

If I use an IndexWriter and set the RAMBufferSizeMB to 16(default) or lower
the memory is freed as expected and the memory of the process will level off
to a nice level. If I set it higher than 16 the memory does NOT look like
it gets freed and the process continually leaks memory. Is there anything I
need to do or is this a bug?

IndexWriter iw = new IndexWriter(mission.getBaseDir(),
new StandardAnalyzer(),
true);
iw.setRAMBufferSizeMB(32); //need a good way to determine
how to set this
iw.setUseCompoundFile(false);

// looping ...
iw.addDocument(doc);

// finish looping
iw.commit();
iw.close();

--
View this message in context: http://old.nabble.com/IndexWriter-RAMBufferSizeMB-memory-leak--tp26230821p26230821.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.