Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array size

Status
Not open for further replies.

ecstasis

Programmer
Oct 12, 2007
2
LV
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?
 
That's my task. I need multiply matrices of similar size. I realize, that C# is not the best choise for such tasks, but that's all i have. I was going to estimate the time it takes for performing such calculations and see if it affordable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top