I help develop a java application using my Windows 7 machine, which has Java 8 Update 45. I notice a significant difference in how much memory the Windows task manager uses by the application (via javaw. Exe Image), as well as the Eclipse Memory Analyzer / Java report Mission Control.
Example: Java Mission Control reports 150 MB of Java Heap memory, while Windows says 303 MB of the working set used for javaw.exe. I understand that there are probably some overheads for the JVM, GC, etc.
But I also see that the GC does this. After a small click to increase memory, the JMC shows that the GC has been executed and says that 200 MB of the heap is being used. Windows reports 619 MB (it never went down). Is Windows displaying Java memory usage incorrectly? Something with the application caused this?
source
share