Need some assistance on this one. I am very new to managing a java environment and a production application appears to be having a major memory leak.

Dan Waldner

I had one of these leaks once, but it turned out not to be a problem with the JVM per sé but rather a problem with my code. I had a hidden logic loop that was continuing on forever. This was crunching away at my RAM slowly but surely, and every 1.4 hours or so, the VM would crash. Check to make sure that a) you have no loops that don't exit b) all of your connections to databases or external objects such as that are properly closed and dereferenced. Sometimes the garbage collector doesn't know how to properly handle a connection that has been left open.