Did you try running with -Xmx8m ? If you don't limit the heap, the
JVM will use as much as you allow it...
On Dec 27, 2007, at 8:01 AM, tgospodinov wrote:
I am indexing a collection of 100,000+ sentences in memory, as part
of a
client app. I tested the jvm heap consumption and it increases by
about 40
megs. I tried indexing on disk (which I can't do in a production
environment) just to test the heap usage, and I came up with about
20-25
megs. I have another search alternative, which is much simpler, but
doesn't
come close to Lucene, and it only consumes about 6-8 megs while
indexing the
same number of entries. Is there a way to improve heap usage while
indexing
in-memory?
I appreciate your help.
--
View this message in context: http://www.nabble.com/Improving-jvm-
heap-consumption-when-indexing-tp14513435p14513435.html
Sent from the Lucene - Java Developer mailing list archive at
Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]