# GC overhead - but heaps of free memory?

**URL:** <https://discuss.elastic.co/t/gc-overhead-but-heaps-of-free-memory/121354>\
**Category:** Elasticsearch\
**Created:** [February 24, 2018, 10:25pm UTC](https://discuss.elastic.co/t/gc-overhead-but-heaps-of-free-memory/121354 "2018-02-24T22:25:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidkarlsen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidkarlsen/32/12331_2.png) [@davidkarlsen](https://discuss.elastic.co/u/davidkarlsen)\
**Post date:** [February 24, 2018, 10:25pm UTC](https://discuss.elastic.co/t/gc-overhead-but-heaps-of-free-memory/121354/1 "2018-02-24T22:25:16Z")

</div>

Whenever I do a search in Kibana I see  
: [2018-02-24T22:16:19,009][INFO][o.e.m.j.JvmGcMonitorService] [HUCBRNR] [gc][124359] overhead, spent [286ms] collecting in the last [1s]  
in the log - but I find it very strange as I have -Xmx12g -Xms12g, and in x-pack I see the heap usage is quite low:

42.16%  
5GB / 12GB

running 6.2.2

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 24, 2018, 10:25pm UTC](https://discuss.elastic.co/t/gc-overhead-but-heaps-of-free-memory/121354/2 "2018-03-24T22:25:40Z")

</div>

Closed on March 24, 2018, 10:25pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
