fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. Console.WriteLine("Memory before: {0}",GC.GetTotalMemory(true));
  8. var a = new double[5000,5000];
  9. Console.WriteLine("Memory after: {0}",GC.GetTotalMemory(true));
  10. }
  11. }
Success #stdin #stdout 0.18s 232704KB
stdin
Standard input is empty
stdout
Memory before: 118784
Memory after: 200224768