I don't know exactly why, but here are some hints: - A 7000*7000 array of float64 takes 7000 * 7000 * 8 / 1024 / 1024 = 373 Mo of memory (headers are negligible) - Each line where the arrays are created creates an additional temporary array (because of the addition), so in spyder the problem arises at 373 * 3 = 1119 Mo of memory. This has to be added to spyder's own memory which I guess is higher than IDLE. Does the variable explorer make a copy of the data, since it pickles then unpickles the arrays ? That might be considered a bug. - In IDLE, the 5 arrays + 1 temporary represent 2238Mo. I don't understand why it didn't break. Is is certain that it is from the same python install ?
Le jeudi 25 septembre 2014 19:45:55 UTC+2, Adrian Klaver a écrit : > > On 09/25/2014 01:01 AM, Patrick Leinenkugel wrote: > > Hi Adrian, > > > > I meanwhile figured out that it was not a problem of Spyder. I did not > > expext that the 32-bit version was limited to so little processing > > memory. I now installed a 64-bit version of WinPython including a 64-bit > > version of Spyder and everything works fine! Thanks a lot! > > > > Glad it is working. However one thing still confuses me from your > original post: > > "Furthermore, when generating even a higher number of these 7000*7000 > arrays in the standard Python IDE GUI, everything works fine." > > If it was not a Spyder problem but a 32/64bit issue how could that be? > > > -- > Adrian Klaver > [email protected] <javascript:> > -- 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.
