Octave lives on matrices. I was able to create a 65536×65536 matrix, but I had to wait a minute or two:
a = rand(2^16,2^16)