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:
parent
2e9f5f138d
commit
2002ebf6ef
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue