Antoine Pitrou <pit...@free.fr> added the comment:

> Couldn't this be linked to #11564 (pickle not 64-bit ready)?

Well, I don't know anything about numpy, but:

>>> 196 * 240000
47040000
>>> 196 * 240000 * 8   # assuming 8 bytes per float
376320000
>>> 2**31
2147483648

So it seems unlikely to be the explanation. After all the report says ">1GB" 
for the file size, which is still comfortably in the capabilities of a 32-bit 
module.

Philipp, perhaps you could try to run Python under gdb and try to diagnose 
where the MemoryError occurs?

Also, posting the disassembly (using pickletools.dis()) of a very small 
equivalent pickle (e.g. of randn(2,3)) could help us know what is involved.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13555>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to