I´m using a good amount of Heap memory to load some resources. After the load, most of the heap used become garbage, wich i believe, JVM is doing GC.
But in WIndows Task Manager it seems that does not free the memory used. The most weird is when i minimize and then opening the window i can see a huge decrease of memory of my game (From 150mb to 30mb).
What´s happening? How i could possible solve this without asking my customer to minimize the window to reduce memory allocation? ???
I tried MinHeapFreeRatio/MaxHeapFreeRatio but doesn´t seem to be a VM issue. Is there any native workaround to force windows free all this memory?
OS: Windows XP Pro SP2
VM: Sun JVM 1.6.0_01-b06