Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Console.WriteLine($"Allocated memory: {GC.GetTotalMemory(false)}");
- var array = new byte[1073741824]; // 1024 ^ 3
- Console.WriteLine($"Allocated memory: {GC.GetTotalMemory(false)}");
- Allocated memory: 160872
- Allocated memory: 1073902752
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement