Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
vCenter
Cloud & SDDC
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Measuring Java heap space
bkeyser_hyperic
Apr 09, 2009 06:51 PM
The JMX capability show the amount of heap space free for the VM. Is there a way to get the amount of ...
excowboy
Apr 13, 2009 06:38 AM
Hi, according to http://support.hyperic.com/display/hypcomm/Sun+JVM+1.5+server Heap Memory ...
jvalkeal_hyperi
Apr 13, 2009 10:30 AM
Mirko, I think original poster was asking whether HQ could define alert condition as correlation from ...
bkeyser_hyperic
Apr 14, 2009 04:13 AM
Hi jvalkeal, Yes, you are are correct. The method used with the heap space free does not allow ...
1.
Measuring Java heap space
0
Recommend
bkeyser_hyperic
Posted Apr 09, 2009 06:51 PM
Reply
Reply Privately
Options Dropdown
The JMX capability show the amount of heap space free for the VM. Is there a way to get the amount of heap spaced used? This would be valuable information for an alert that would show when the VM is approaching the upper bound using the value set in the -Xmx flag when the VM is started.
2.
RE: Measuring Java heap space
0
Recommend
excowboy
Posted Apr 13, 2009 06:38 AM
Reply
Reply Privately
Options Dropdown
Hi,
according to
http://support.hyperic.com/display/hypcomm/Sun+JVM+1.5+server
Heap Memory Used is a supported metric, even though it is not enabled by default
To enable this metric for all your JVMs please refer to:
http://support.hyperic.com/display/DOC/ui-Admin.Monitor.MetricTemplate
Cheers,
Mirko
3.
RE: Measuring Java heap space
0
Recommend
jvalkeal_hyperi
Posted Apr 13, 2009 10:30 AM
Reply
Reply Privately
Options Dropdown
Mirko, I think original poster was asking whether HQ could define alert condition as correlation from one metric to other. Like if metricA is lower that metricB. Have you heard whether hyperic is planning to do features like this?
As Mirko said, 'Heap Memory Used' could be used to track if memory is getting full. Of course you need to manually set the max value to alert condition.
I guess it could be technically possible to create new custom metric to track 'Total Free Heap Size'. This metric would subtract used mem from max mem. This needs some java coding, thought.
Default 'Heap Memory Free' will only give free mem from the already allocated heap size. And if Xmx and Xms differs, free heap metric doesn't tell the whole truth. Jvm could be started by defining same values to Xmx/Xms parameters, then default free heap mem should give much reliable results.
4.
RE: Measuring Java heap space
0
Recommend
bkeyser_hyperic
Posted Apr 14, 2009 04:13 AM
Reply
Reply Privately
Options Dropdown
Hi jvalkeal,
Yes, you are are correct. The method used with the heap space free does not allow us to bound the limit and create an appropriate alert as the value will change.
This would be most helpful for monitoring.
Thanks,
Brian
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic