I'm trying to build an app that allows me to track the memory usage of a process over time and save the data to a file.
The problem is that when using any of the memory size members of the Process class I get only one set of numbers. There is no change in the numbers as I notice on the Task Manager.
Am I using the wrong functions to get this to work? I had understood that I needed to use the WorkingSet64 but even the others don't seem to work either.
Any help would be appreciated.
The problem is that when using any of the memory size members of the Process class I get only one set of numbers. There is no change in the numbers as I notice on the Task Manager.
Am I using the wrong functions to get this to work? I had understood that I needed to use the WorkingSet64 but even the others don't seem to work either.
Any help would be appreciated.