How can I know the size of the largest possible 2-D array in numpy, given a specific 'dtype' and my system memory?

How can one play around with this? Would it help to note that the array might be say m megabytes on disk, say, n % sparse?

Also, is there some good literature about the largest possible 2-D arrays on different computing platforms? Google isn't helping much.