Hi,

I am using Spyder within python (x,y) (Version 2.7.6.1) on Windows. Doing 
the following causes a MemoryError in my Spyder Python IDE:

>>> from numpy  import *>>> a_flt = ones((7000,7000), dtype=float64)+4>>> b_flt 
>>> = ones((7000,7000), dtype=float64)+1Traceback (most recent call last):
  File "<stdin>", line 1, in <module>    MemoryError>>> 

This is weird, since the memory usage in the statusbar of Spyder shows that 
only approx. 25% of my memory is used. Furthermore, when generating even a 
higher number of these 7000*7000 arrays in the standard Python IDE GUI, 
everything works fine.

>>> from numpy  import *>>> a_flt = ones((7000,7000), dtype=float64)+4>>> b_flt 
>>> = ones((7000,7000), dtype=float64)+1>>> c_flt = ones((7000,7000), 
>>> dtype=float64)+1>>> d_flt = ones((7000,7000), dtype=float64)+1>>> e_flt = 
>>> ones((7000,7000), dtype=float64)+1 

Even with 5 floating point arrays created, memory requirements only amount 
to about a third of my total memory of 16GB. So this cannot be a real 
memory problem. Then updated to Spyder 2.3.1 using Python 2.7.6 32bits, Qt 
4.8.4, PyQt4 (APIv2) 4.9.6 on Windows and the same Memory Error results 
alreay when trying to create the first array with 7000*7000 float elements 
(a_flt)! Furthermore, the same error is reproducable in the Spyder IDE on 
the computer of my colleague, so it is not an error related to my specific 
computer 
settings.  

I also found a similiar question on this issue in this spyder google group 
https://groups.google.com/forum/#!msg/spyderlib/qE9tiriT91s/0x3s2Aw-efMJ, 
however no answer was provided. It would really be nice if someone could 
help me with this paradoxical situation. Thanks in advance,
Patrick

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to