I suggest using setRAMBufferSizeMB method of IndexWriter (or 
SetMaxBufferedDocs, they are interchangeable).

 
Maxim


________________________________
 From: Clemens Wyss <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Wednesday, May 2, 2012 4:16 PM
Subject: Limiting IndexWriters memory usage?
 
Is there a way to limit IndexWriters memory usage? 
While indexing many many documents my IndexWriter  occupies > 30MB in memory. 
Is there a way to limit this "usage"?

Thx
Clemens

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to