OutOfMemoryException happens in G2 when doing 2000*2000 computation. Casting the matrix to a long array took twice memory.
OutOfMemoryException happens in G2 when doing 2000*2000 computation. Casting the matrix to a long array took twice memory.