Largest possible numpy array
Hi 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. Thanks
Den 26.02.2011 16:09, skrev Jaidev Deshpande:
Hi
How can I know the size of the largest possible 2-D array in numpy, given a specific 'dtype' and my system memory?
The largest array size is not dicatated by system memory but virtual memory. On Windws the available virtual address space is 2 GB with x86 and 16 TB with AMD64. If you have less physical memory than the array size, the OS will swap some of it to disk. Sturla
participants (2)
-
Jaidev Deshpande
-
Sturla Molden