Re: [Numpy-discussion] find machine maximum numpy array size

2011-01-17 Thread Robert Kern
On Mon, Jan 17, 2011 at 06:35, Tom Holderness wrote: > Hi, > > How do I find the maximum possible array size for a given data type on a > given architecture? > For example if I do the following on a 32-bit Windows machine: > > matrix = np.zeros((8873,9400),np.dtype('f8')) > > I get, > Traceback (

Re: [Numpy-discussion] find machine maximum numpy array size

2011-01-17 Thread Tom Holderness
Hi, How do I find the maximum possible array size for a given data type on a given architecture? For example if I do the following on a 32-bit Windows machine: matrix = np.zeros((8873,9400),np.dtype('f8')) I get, Traceback (most recent call last): File "", line 1, in matrix = np.zeros(