Sergey.Bochkanov wrote:
And NET framework has upper limit on array size (2GB), so you can not allocate such large array under .NET even when you compile for 64-bit architecture.
Yeah, i've figured that myself, the problem is in function sparsecreate as far as i understand.
Btw alglib uses everywhere multidimensional arrays
A[i, j], not jaged arrays
A[i][j]. Under Windows jagged array performance is
greater than multidimensional,
and Code:
var d = new double[500000, 1000]
crashes as vell (multidim .Net array also have < 2GB limit), so it seems like a huge problem for 64 bit .Net applications which rely on big matrices/vectors?
P.S. Just found
http://msdn.microsoft.com/en-us/library/hh285054(v=vs.110).aspx