[Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)
David Cournapeau
cournape at gmail.com
Sat Apr 23 09:41:13 EDT 2011
On Sat, Apr 23, 2011 at 10:33 PM, Till Stensitzki <mail.till at gmx.de> wrote:
> Hello,
> due a mistake i found the following bug:
>
>
> import numpy as np
> x=np.zeros((262144, 262144))
> print x.shape
Hm, this is a bit weird. The line x = np.zeros... should fail (you
most likely do not have 512 Gb Ram available on your machine :) ).
Maybe a check is wrong due to some wrong configuration on windows. Are
you on windows 32 or 64 bits ?
cheers,
David
More information about the NumPy-Discussion
mailing list