[Numpy-discussion] Largest possible numpy array

Sturla Molden sturla at molden.no
Sat Feb 26 13:44:03 EST 2011


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



More information about the NumPy-Discussion mailing list