See IndexReader.setTermInfosIndexDivisor() for a way to help reduce memory 
usage without needing to re-index.

If you have indexed fields with omitNorms off (the default) you will be paying 
a 1 byte per field per document memory cost and may need to look at re-indexing

Cheers
Mark



----- Original Message ----
From: Douglas Campos <doug...@theros.info>
To: java-user@lucene.apache.org
Sent: Friday, 24 April, 2009 17:36:37
Subject: Low-memory searcher

Hi!

Is there any way to reduce memory footprint doing a search over a very large
index (20G). I've getting OOMs with 512m heap!

cheers

-- 
Douglas Campos
Theros Consulting
+55 11 9267 4540
+55 11 3020 8168






---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to