Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Sturla Molden
Den 23.04.2011 16:09, skrev josef.p...@gmail.com: > 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.264 bit: MemoryError > numpy 1.5.1 on Python 2.7.1 64 bit: MemoryError Sturla ___ NumPy-

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Charles R Harris
On Sat, Apr 23, 2011 at 4:17 PM, Christoph Gohlke wrote: > > > On 4/23/2011 2:47 PM, Charles R Harris wrote: > >> >> >> On Sat, Apr 23, 2011 at 3:38 PM, Christoph Gohlke > > wrote: >> >> >> >>On 4/23/2011 10:41 AM, Charles R Harris wrote: >>> >>> >>> On Sa

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Christoph Gohlke
On 4/23/2011 2:47 PM, Charles R Harris wrote: On Sat, Apr 23, 2011 at 3:38 PM, Christoph Gohlke mailto:cgoh...@uci.edu>> wrote: On 4/23/2011 10:41 AM, Charles R Harris wrote: > > > On Sat, Apr 23, 2011 at 11:09 AM, Bruce Southey mailto:bsout...@gmail.com> >

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Charles R Harris
On Sat, Apr 23, 2011 at 3:47 PM, Charles R Harris wrote: > > > On Sat, Apr 23, 2011 at 3:38 PM, Christoph Gohlke wrote: > >> >> >> On 4/23/2011 10:41 AM, Charles R Harris wrote: >> > >> > >> > On Sat, Apr 23, 2011 at 11:09 AM, Bruce Southey > > > wrote: >> > >> > O

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Charles R Harris
On Sat, Apr 23, 2011 at 3:38 PM, Christoph Gohlke wrote: > > > On 4/23/2011 10:41 AM, Charles R Harris wrote: > > > > > > On Sat, Apr 23, 2011 at 11:09 AM, Bruce Southey > > wrote: > > > > On Sat, Apr 23, 2011 at 9:58 AM, Till Stensitzki >

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Christoph Gohlke
On 4/23/2011 10:41 AM, Charles R Harris wrote: > > > On Sat, Apr 23, 2011 at 11:09 AM, Bruce Southey > wrote: > > On Sat, Apr 23, 2011 at 9:58 AM, Till Stensitzki > wrote: > > > > > Do you also have an earlier version of numpy

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Charles R Harris
On Sat, Apr 23, 2011 at 11:09 AM, Bruce Southey wrote: > On Sat, Apr 23, 2011 at 9:58 AM, Till Stensitzki wrote: > > > >> Do you also have an earlier version of numpy installed? As David says, > this > >>should raise an error for recent numpy and > >>I'm wondering if you are inadvertently > >>ru

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Bruce Southey
On Sat, Apr 23, 2011 at 9:58 AM, Till Stensitzki wrote: > >> Do you also have an earlier version of numpy installed? As David says, this >>should raise an error for recent numpy and >>I'm wondering if you are inadvertently >>running an earlier version.Chuck > > > I only have one python installatio

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Till Stensitzki
> Do you also have an earlier version of numpy installed? As David says, this >should raise an error for recent numpy and >I'm wondering if you are inadvertently >running an earlier version.Chuck I only have one python installation and numpy.__version__ shows 1.6b. I could reinstall numpy

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Charles R Harris
On Sat, Apr 23, 2011 at 8:11 AM, Till Stensitzki wrote: > > > > 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 3

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Till Stensitzki
> 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 ? > I took the outer product of two (512,512)-matric

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread josef . pktd
On Sat, Apr 23, 2011 at 10:01 AM, wrote: > On Sat, Apr 23, 2011 at 9:41 AM, David Cournapeau wrote: >> On Sat, Apr 23, 2011 at 10:33 PM, Till Stensitzki wrote: >>> Hello, >>> due a mistake i found the following bug: >>> >>> >>> import numpy as np >>> x=np.zeros((262144, 262144)) >>> print x.sha

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread josef . pktd
On Sat, Apr 23, 2011 at 9:41 AM, David Cournapeau wrote: > On Sat, Apr 23, 2011 at 10:33 PM, Till Stensitzki 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

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread David Cournapeau
On Sat, Apr 23, 2011 at 10:33 PM, Till Stensitzki 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 y

[Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Till Stensitzki
Hello, due a mistake i found the following bug: import numpy as np x=np.zeros((262144, 262144)) print x.shape print x The last line crashes the python interpreter without any feedback. Windows 7, Python 2.6.5, Numpy 1.6b2 ___ NumPy-Discussion mailing