fork(1) download
  1. using static System.Console;
  2. using System.Diagnostics;
  3.  
  4. public class Program {
  5. public static void Main() {
  6. using (var proc = Process.GetCurrentProcess()) {
  7. WriteLine(proc.PrivateMemorySize64);
  8. WriteLine(proc.WorkingSet64);
  9. }
  10. }
  11. }
  12.  
  13. //https://pt.stackoverflow.com/q/198632/101
Success #stdin #stdout 0.02s 131776KB
stdin
Standard input is empty
stdout
96124928
14434304