What is heap_max_in_bytes in logstash monitor api?

I am testing the performance of logstash and realized that heap_max_in_bytes are above the -Xmx parameter of jvm.

Below is my snippet of jvm.options

## JVM configuration

# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space

-Xms256m
-Xmx1g

Below is my node stats in monitor api.

{"host":"logstash-1","version":"5.0.0","http_address":"127.0.0.1:9600","jvm":{"threads":{"count":38,"peak_count":40},"mem":{"heap_used_in_bytes":924685144,"heap_used_percent":43,"heap_committed_in_bytes":1264427008,"heap_max_in_bytes":2112618496,"non_heap_used_in_bytes":206980800,"non_heap_committed_in_bytes":219774976

Due to my lack of my knowledge in jvm I appreciate if someone can clarify why this heap_max_in_bytes are above -Xmx and which key corresponds to -Xmx.

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