Hi,
I believe that maximum size of a .NET object is 2GB (though there is an option in the 64-bit version of .NET 4.5 to increase that size - I've never used it). The first two versions above put you well over 2GB. In the last version, the array and the matrix would take about 575MB each. However, each block of memory needs to be contiguous.
Also, is your matrix really dense or can you use the a sparse matrix?
Regards,
Marcus
I believe that maximum size of a .NET object is 2GB (though there is an option in the 64-bit version of .NET 4.5 to increase that size - I've never used it). The first two versions above put you well over 2GB. In the last version, the array and the matrix would take about 575MB each. However, each block of memory needs to be contiguous.
Also, is your matrix really dense or can you use the a sparse matrix?
Regards,
Marcus