using System;
public class Test
{
public static void Main()
{
Console.WriteLine("Memory before: {0}",GC.GetTotalMemory(true));
var a = new double[5000,5000];
Console.WriteLine("Memory after: {0}",GC.GetTotalMemory(true));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCUNvbnNvbGUuV3JpdGVMaW5lKCJNZW1vcnkgYmVmb3JlOiB7MH0iLEdDLkdldFRvdGFsTWVtb3J5KHRydWUpKTsKICAgICAgICAgICAgdmFyIGEgPSBuZXcgZG91YmxlWzUwMDAsNTAwMF07CiAgICAJICAgIENvbnNvbGUuV3JpdGVMaW5lKCJNZW1vcnkgYWZ0ZXI6IHswfSIsR0MuR2V0VG90YWxNZW1vcnkodHJ1ZSkpOwoJfQp9