i have setup elasticsearch on a windows box and set ES_HEAP_SIZE to 10g out
of total 28g.
For some reason, GC keeps happening as soon as heap memory reaches around
250mb. Attached couple of images from BigDesk. Please let me know how to
avoid this.
ES version: 1.3.2
Java Version:
VM name: Java HotSpot(TM) 64-Bit Server VM
VM vendor: Oracle Corporation
VM version: 25.20-b23
Young generation GC happens a lot normally and it's normally not a concern
as it takes so little time per GC cycle. In my experience it's only a
concern if it's happening many many times per second which often indicates
too small a young generation.
It's the old generation GC cycles that you have to concern yourself with as
those are the ones that may (and eventually will with CMS) take many
seconds to complete.
Young generation GC happens a lot normally and it's normally not a concern
as it takes so little time per GC cycle. In my experience it's only a
concern if it's happening many many times per second which often indicates
too small a young generation.
It's the old generation GC cycles that you have to concern yourself with
as those are the ones that may (and eventually will with CMS) take many
seconds to complete.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.