address space of a regular PC which is 4GB, of which 2 are not available.
You might get away with it on a 64bit machine, which ought to have a bigger
address space, but you will need 10GB just to store the elements, and
several times that to do anything with them.
Even if you decompose this into blocks each with 1 million distinct elements
that will leave you with over 1000 blocks.
What gives rise to such a large problem, meybe rethinking the approach will
allow you to avoid having to work with such large matrices.