Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.20.2, 0.21.0
-
None
-
None
-
Reviewed
Description
The JvmMetrics currently publish memory usage from the MemoryMXBean. This is useful, but doesn't include the total heap size (eg as displayed in the JT Web UI).
It would be nice to expose Runtime.getRuntime().maxMemory() as part of JvmMetrics.
It seems that Runtime.getRuntime().totalMemory() (used by the JT for "memory used") is the same as the 'memHeapCommittedM' which already exists.