# Heap\_committed is incorrect

**URL:** <https://discuss.elastic.co/t/heap-committed-is-incorrect/121749>\
**Category:** Elasticsearch\
**Created:** [February 27, 2018, 11:04pm UTC](https://discuss.elastic.co/t/heap-committed-is-incorrect/121749 "2018-02-27T23:04:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arisbanach](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Post date:** [February 27, 2018, 11:04pm UTC](https://discuss.elastic.co/t/heap-committed-is-incorrect/121749/1 "2018-02-27T23:04:18Z")

</div>

I set `jvm.options` to:

```auto
-Xms2g
-Xmx2g

```

but when I go to `/_nodes/stats?human` it shows:

```auto
"mem": {
"heap_used":"817mb",
"heap_used_in_bytes":856776904,
"heap_used_percent":81,
"heap_committed":"1007.3mb",
"heap_committed_in_bytes":1056309248,
"heap_max":"1007.3mb",
"heap_max_in_bytes":1056309248,
"non_heap_used":"108.8mb",
"non_heap_used_in_bytes":114173864,
"non_heap_committed":"115.5mb",
"non_heap_committed_in_bytes":121151488

```

Shouldn't `heap_committed_in_bytes` be equal to 2gb?

---

<div class="post-metadata">

**Author:** ![arisbanach](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Post date:** [February 27, 2018, 11:20pm UTC](https://discuss.elastic.co/t/heap-committed-is-incorrect/121749/2 "2018-02-27T23:20:20Z")

</div>

This is odd: I just ran `systemctl restart elasticsearch` on them and they all say 2gb now. I had restarted the Elasticsearch service many times before, though. Any ideas why this number changed?

Thank you.

---

<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 27, 2018, 11:20pm UTC](https://discuss.elastic.co/t/heap-committed-is-incorrect/121749/3 "2018-03-27T23:20:33Z")

</div>

Closed on March 27, 2018, 11:20pm UTC

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