|
Measures reported by AgentJVMMemoryTest
This test enables eG users to quickly detect and troubleshoot memory contentions in the eG agent's JVM. By monitoring how the eG agent's JVM is utilizing the memory available to it, the test proactively alerts eG users if it finds that the JVM is running out of free memory. This way, eG users are warned of probable slowness or failure of the eG agent that may be caused due to the lack of memory. Based on the usage reports provided by this test, eG users can figure out how to size the JVM, so as to ensure the continuous availability and peak performance of the eG agent.
The measures made by this test are as follows:
| Measurement |
Description |
Measurement Unit |
Interpretation |
| Max_mem |
Returns the maximum amount of memory that the Java virtual machine will attempt to use. If there is no inherent limit then the maximum value will be returned. |
MB |
If you had configured the eG agent's -Xmx setting with 512M, then the value of this measure will be 512 MB. |
| Tot_mem |
Returns the total amount of memory in the Java virtual machine. The value returned by this method may vary over time, depending on the host environment. |
MB |
If you had configured the eG agent's -Xrs setting with 214M, then the value of this measure will be 214 MB. |
| Used_mem |
Indicates the amount of memory that the JVM is using for the eG agent. |
MB |
The value of this measure is the difference between the value of the Tot_mem and Free_mem measures.
Ideally, the value of this measure should be low. A consistent rise in this value is a cause for concern. |
| Free_mem |
Indicates the amount of free memory in the JVM. |
MB |
Ideally, the value of this measure should be high. A consistent drop in this value is a cause for concern. |
| UsedMemPercent |
Indicates the percentage of maximum memory that is used by the eG agent. |
Percent |
The formula for calculating this measure is:
(Used_mem / Max_mem) * 100
Ideally, the value of this measure should be low. If this value keeps growing closer to 100%, it indicates excessive memory usage by the eG agent, which in turn may cause the agent to fail or slow down. You may want to change the maximum memory configuration of the eG agent to avoid such an eventuality. |
|