Don't force full collection on memory request

Since this can be called quite often (like each 5 seconds), ASF should not do any expensive things there. Let GC do its job.
This commit is contained in:
JustArchi
2018-02-04 08:10:52 +01:00
parent 578f6e44b6
commit c6f06f1bd5
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ namespace ArchiSteamFarm {
return false;
}
uint memoryUsage = (uint) GC.GetTotalMemory(true) / 1024;
uint memoryUsage = (uint) GC.GetTotalMemory(false) / 1024;
DateTime processStartTime;