I'm trying for the past few hours to locate an MBean to monitor non-heap memory but couldn't find anything.
Does anyone have a clue? I managed to find the JVMRuntime MBean for Heap Memory, but what about non-heap?
We have a rather large j2ee app which creates classloader leaks and I want to prevent them by restarting the servers once
non-heap memory usage reaches a certain threshold.
search for PlatformMBeanServerEnabled in the JMXMBean.
with this setting, as i understand, weblogic uses the jse platform mbean server to host it's own mbeans. there will then be the mbeans available that would have been by using the javax.management.* api's from within any jse application, and this will allow you to monitor the memorypoolmxbean[s] for perm gen etc. there are security implications.