Fixed memory calculation of moonlight itself

This commit is contained in:
Marcel Baumgartner 2024-04-16 17:18:40 +02:00
parent e3f040c978
commit eaacdb3446

View file

@ -58,7 +58,7 @@ public static class HostSystemHelper
public static Task<long> GetMemoryUsage() public static Task<long> GetMemoryUsage()
{ {
var process = Process.GetCurrentProcess(); var process = Process.GetCurrentProcess();
var bytes = process.WorkingSet64; var bytes = process.PrivateMemorySize64;
return Task.FromResult(bytes); return Task.FromResult(bytes);
} }