- Code: Select all
Process currentProcess = System.Diagnostics.Process.GetCurrentProcess();
int totalBytesOfMemoryUsed = (int) ( (currentProcess.WorkingSet64 / 1024) / 1024 );
- Any chance of a Development Server-only whitelist? (I assume a Live server whitelist would not make any sense anyway due to shared resources)
But it would be nice if I could get an idea how much memory the game is consuming, just so that i stay within the limits!