While trying to create a 2-dimensional array of integers of size 10000x10000 I get the System.OutOfMemoryException.
As I have estimated, 10000x10000x4 = 400000000bytes which is about 380 Mbytes. I had more than of 1G free physical memory + virtual memory. So, why is this exception thrown?
As I have estimated, 10000x10000x4 = 400000000bytes which is about 380 Mbytes. I had more than of 1G free physical memory + virtual memory. So, why is this exception thrown?