I'm desperate :( cannot track memory leak.

Hello.

Maybe someone can help me on this because I have tried already everything.

Basically we have an application that after running about for 3 weeks it reaches a state of "Out of Memory Error" and stops functioning. I tried to compare dumps of JMAP tracking out every day that passes but didn't see any unusual "leftovers" ....

I'm using Java 6 Update 1 SE on Win 2003 and JConsole constantly to monitor the JVM state.

The java process reaches very high OS memory capture: i.e. in task manager "Mem Usage" = 500,000 and "VM Size" = 700,000 after a week of running.

Java is running with the following parameters: -Xmx1024m -server -XX:+FullSpeedJVMDI -Xrs

Jconsole however shows that the Heap Size = about 40mb and growing but after GCs it goes back to around 40mb ...

Question a: if the heap is only 40mb, why java captures 700mb of memory ?

One more detail, the application is not using any native code only Oracle JDBC connections that are well managed and closed (hopefully :)

I'm desperate I think I have tried it all - using JProfiler and also YourKit and JHAT but nothing :(

If someone might have some idea regarding this it will be mostly appreciated !

Thank you.

[1249 byte] By [kipodusha] at [2007-11-27 6:54:35]
# 1
Crosspost http://forum.java.sun.com/thread.jspa?threadID=5181676
tschodta at 2007-7-12 18:29:38 > top of Java-index,Core,Monitoring & Management...