You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by tgospodinov <sp...@gospodinov.net> on 2007/12/27 18:18:43 UTC

JVM heap when indexing in memory

Does anyone know why JVM heap use almost doubles at the very end when
indexing in memory?

around  9 megs @ 1:03 min into indexing - around 18 megs @ 1:05 min when
indexing is complete -> heap use jumps about 9 megs in 2 sec!?
-- 
View this message in context: http://www.nabble.com/JVM-heap-when-indexing-in-memory-tp14515918p14515918.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Re: JVM heap when indexing in memory

Posted by tgospodinov <sp...@gospodinov.net>.
You were right. I forgot I optimized the index at the end. Thanks for your
help.


Erick Erickson wrote:
> 
> Are you optimizing your index? I suspect that if you are, that's
> the problem.
> 
> Why does it matter? Is this just a curiosity question or is there
> some problem?
> 
> Best
> Erick
> 
> On Dec 27, 2007 12:18 PM, tgospodinov <sp...@gospodinov.net> wrote:
> 
>>
>> Does anyone know why JVM heap use almost doubles at the very end when
>> indexing in memory?
>>
>> around  9 megs @ 1:03 min into indexing - around 18 megs @ 1:05 min when
>> indexing is complete -> heap use jumps about 9 megs in 2 sec!?
>> --
>> View this message in context:
>> http://www.nabble.com/JVM-heap-when-indexing-in-memory-tp14515918p14515918.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/JVM-heap-when-indexing-in-memory-tp14515918p14516597.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Re: JVM heap when indexing in memory

Posted by tgospodinov <sp...@gospodinov.net>.
Thanks for your reply, Erick. I am not optimizing my index. I am trying to
keep heap use to a minimum. The indexing service that I'm working on will be
part of a wizard in an RCP framework and heap use is crucial for
performance. Do you know why its doing that?


Erick Erickson wrote:
> 
> Are you optimizing your index? I suspect that if you are, that's
> the problem.
> 
> Why does it matter? Is this just a curiosity question or is there
> some problem?
> 
> Best
> Erick
> 
> On Dec 27, 2007 12:18 PM, tgospodinov <sp...@gospodinov.net> wrote:
> 
>>
>> Does anyone know why JVM heap use almost doubles at the very end when
>> indexing in memory?
>>
>> around  9 megs @ 1:03 min into indexing - around 18 megs @ 1:05 min when
>> indexing is complete -> heap use jumps about 9 megs in 2 sec!?
>> --
>> View this message in context:
>> http://www.nabble.com/JVM-heap-when-indexing-in-memory-tp14515918p14515918.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/JVM-heap-when-indexing-in-memory-tp14515918p14516428.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Re: JVM heap when indexing in memory

Posted by Erick Erickson <er...@gmail.com>.
Are you optimizing your index? I suspect that if you are, that's
the problem.

Why does it matter? Is this just a curiosity question or is there
some problem?

Best
Erick

On Dec 27, 2007 12:18 PM, tgospodinov <sp...@gospodinov.net> wrote:

>
> Does anyone know why JVM heap use almost doubles at the very end when
> indexing in memory?
>
> around  9 megs @ 1:03 min into indexing - around 18 megs @ 1:05 min when
> indexing is complete -> heap use jumps about 9 megs in 2 sec!?
> --
> View this message in context:
> http://www.nabble.com/JVM-heap-when-indexing-in-memory-tp14515918p14515918.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>