I run a code multiple time and i measure in the end of it the PeakPagedMemorySize64 , PeakWorkingSet64 and PeakVirtualMemorySize64 using the Process class .
But in each time i get different value for the same code
PeakPagedMemorySize64 112758784 PeakVirtualMemorySize64 332701696 PeakWorkingSet64 143835136
PeakPagedMemorySize64 113696768 PeakVirtualMemorySize64 332636160 PeakWorkingSet64 144642048
PeakPagedMemorySize64 113528832 PeakVirtualMemorySize64 332701696 PeakWorkingSet64 144547840
why I have this different values instead of getting the same value each time? And how can I optimize it to minimize this variation?