On Sat, Apr 23, 2011 at 10:01 AM, <josef.p...@gmail.com> wrote: > On Sat, Apr 23, 2011 at 9:41 AM, David Cournapeau <courn...@gmail.com> wrote: >> On Sat, Apr 23, 2011 at 10:33 PM, Till Stensitzki <mail.t...@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 ? > > 32 bit python on Windows 7 (64) > > I get the correct value error with python 2.6.5 and numpy 1.5.1 > > but on python 2.5.4 with numpy 1.3.0 I get the crash instead of the > ValueError.
to rule out two more cases numpy 1.5.1 on python 2.7.1 32 bit : ValueError numpy 1.5.1 on python 3.2 64 bit: MemoryError Josef > > > Josef > >> >> cheers, >> >> David >> _______________________________________________ >> NumPy-Discussion mailing list >> NumPy-Discussion@scipy.org >> http://mail.scipy.org/mailman/listinfo/numpy-discussion >> > _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion