mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
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:
@@ -191,7 +191,7 @@ namespace ArchiSteamFarm {
|
||||
return false;
|
||||
}
|
||||
|
||||
uint memoryUsage = (uint) GC.GetTotalMemory(true) / 1024;
|
||||
uint memoryUsage = (uint) GC.GetTotalMemory(false) / 1024;
|
||||
|
||||
DateTime processStartTime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user