I have a BIG problem With Sun's java.exe (currently running 1.3.1_03 & 1.4.0).
I have an application that is reading and writing very large files (up to 500MB). The runtime asks for both RAM and VM, but after processing a file, only the RAM is being freed. It holds on to the virtual memory instead of giving it back to the OS.
Garbage collecting is not the problem, no leaking of any Objects found (used JProbe to ;make sure). This problem has already been reported to Sun (several times), but no one seems to have an answer.
Do you have the core of the code (or even all the code). So we can test it ? I surely do not believe the VM as a Memory leak ! May be de-allocation problems but certainly not a Memory leak (thought one learns every day :-) ).