This is not true. It has several options for memory statistics (use View + Columns), and the version matters, but the default view shows the working set. How much virtual memory your program actually uses in RAM. This is a statistical number that can change very quickly. Just hide the main application window, for example.
The size of the VM that it can show is also small. This number includes free heap blocks. Getting the actual memory to use is very difficult, read the small print in the SDK article for HeapWalk.
It is useless to detect a leak if you do not leak it.
source share