Heap_committed is incorrect

I set jvm.options to:

-Xms2g
-Xmx2g

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

"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?

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.

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