Track resident memory usage in test harness

We switched to limiting based on resident memory usage, so track that
instead.
This commit is contained in:
Andrew Noyes 2022-08-05 17:12:58 -07:00
parent 2e9f5f138d
commit 2002ebf6ef
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ namespace SummarizeTest
process.Refresh();
if (process.HasExited)
return;
long mem = process.PrivateMemorySize64;
long mem = process.PagedMemorySize64;
MaxMem = Math.Max(MaxMem, mem);
//Console.WriteLine(string.Format("Process used {0} bytes", MaxMem));
Thread.Sleep(1000);