Fixed memory calculation of moonlight itself
This commit is contained in:
parent
e3f040c978
commit
eaacdb3446
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue