JVMPI_GC_ROOT_MONITOR_USED - what does this mean in a heap dump?

I'm having some OutOfMemory errors in my application, so I turned on a profiler, and took a heap dump before and after an operation that is blowing up the memory.
What changes after the operation is that I get an enormous amount of data that is reported under the node JVMPI_GC_ROOT_MONITOR_USED. This includes some Oracle PreparedStatements which are holding a lot of data.
I tried researching the meaning of JVMPI_GC_ROOT_MONITOR_USED, but found little help. Should this be objects that are ready for garbage collection? If so, they are not being garbage collected, but I'm getting OutOfMemoryError instead (I thought the JVM was supposed to guarantee GC would be run before OutOfMemory occurred).
Any help on how to interpret what it means for objects to be reported under JVMPI_GC_ROOT_MONITOR_USED and any ways to eliminate those objects, will be greatly appreciated!
Thanks

I tried researching the meaning of
JVMPI_GC_ROOT_MONITOR_USED, but found little help.
Should this be objects that are ready for garbage
collection? Disclaimer: I haven't written code to use JVMPI, so anything here is speculation.
However, after reading this: http://java.sun.com/j2se/1.4.2/docs/guide/jvmpi/jvmpi.html
It appears that the "ROOT" flags in a level-2 dump are used with objects that are considered a "root reference" for GC (those references that are undeniably alive). Most descriptions of "roots" are static class members and variables in a stack frame. My interpretation of this doc is that objects used in a synchonize() statement are also considered roots, at least for the life of the synchronized block (makes a lot of sense when you think about it).

Similar Messages

Maybe you are looking for

  • N73 ME SERIOUS ISSUE - PLEASE HELP!!!

    Hi, I have an N73 Music Edition - purchased it in Jan, 2008. It was working fine until recently I removed the memory card to clean it. Ever since my gallery doesn't show any items from the memory card. I've set my phone to save all new and downloaded

  • Is there any way to work on one Catalog from two computers simultaenously?

    Is there any way to work on one Catalog from two computers simultaenously? I have a catalog with 7000 images we have to process / crop / etc. and I was trying to find a way that two of us could work on the images at the same time. Thanks!

  • Having issues with WRT350n - "No internet Access"

    I am having issues with the WRT350n where I am getting an "No internet access" message. When I look at the wireless network connection I can see the wireless router and it says "connected" but when I scroll my mouse over the icon, it reads "No intern

  • New LCD Monitor Blinks On and Off

    I just purchased a new 22" Visionmaster LCD monitor, connected via digital cable to my ATI Radeon 128Mb video card. However, it tends to switch OFF to a black screen, and after about 5 seconds it comes back on. The screen displays the word DIGITAL in

  • Challenging Line In Port Question

    Hi - I'm working with some software that was built primarily for PC's but it will run on Mac OS fine. I'm putting a powered signal into the "Line In" port in the back of my PowerBook G4.  Within the software, I need to associate the Line In port to t