It seems to be often said that Task Manager does not provide an accurate indication of how much memory is in use by a process.
If this is indeed the case, what's the easiest way to find these things out?
I'd like to know:
- Total Memory in use (whether in RAM or paged or whatever)
- Total RAM in use (running in a situation where the machine has loads of free physical RAM so things getting forcibly paged out hopefully isn't an issue)
- Total Memory actually used by the program (not counting the extra overhead the GC keeps around)
- Total Memory usage that is solely used by my program (not counting shared libraries/shared memory)
- Total Shared memory usage.