I added these two measures - "Memory pool usage used" and "Free memory". While "memory pool usage used" measure breaks down the memory into memory pool (oldgen, edenspace, perm gen etc), "Free memory" measure doesn't provide that breakdown.
I attached the screenshot, can anyone provide more info whether and if yes, how we can add "memory pool" to "Free memory" measure.
Answer by Andreas G. ·
Hi
The Free Memory Measure is not provided per memory pool. But - there are some additonal Memory Pool measures you can create, e.g: you can create max & committed for each memory pool creating measures as shown in the following screenshot. There is also a Memory Pool Utilization Measure that you can create PER Memory Pool
Answer by Arun Y. ·
Andreas,
Thanks for the response. The select measure splitting by "memory pool" under free memory would help immensely for our work. Both "Free memory" and "Max Memory" doesn't split measure by "memory pool". Can this split measure by memory pool be added as a plug-in?
Answer by Andreas G. ·
You can check whether your JVM provides JMX Measures for this value. Then you can create a Custom JMX Measure and get that value. You dont need a plugin for that - just try to find a way how to extract that value. In case your JVM provides this measure via JMX it should be fairly easy. I am sure if you do some research (or Google) you may figure out how to get this to work. Keep us posted
Answer by Arun Y. ·
Understood, my JVMs provide the JMX measures for this value. I tried to create a custom JMX measure to get these memory values and I encountered this problem. Each custom JMX measure can only accommodate one value (either perm gen, old gen, eden space etc) but not all 4 values the "memory pool" split is offering (as shown in picture).
So In order to see the free memory data, I will have to add 4 different measures to the already congested dashlet. If "memory pool" split is implemented for couple of measures, I am not sure why it is not added as an option to rest of the measures.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET