[Numpy-discussion] ~2**32 byte tofile()/fromfile() limit in 64-bit Windows?

Christoph Gohlke cgohlke@uci....
Wed Nov 3 16:56:51 CDT 2010



On 11/3/2010 1:13 AM, Martin Spacek wrote:
> I just opened a new ticket (http://projects.scipy.org/numpy/ticket/1660), but I
> thought I'd bring it up here as well. I can't seem to get tofile() or save() to
> write anything much bigger than a 2**32 byte array to a file in Py 2.6.6 on
> 64-bit Windows. They both hang with no errors. Also, fromfile() throws an
> "IOError: could not seek in file" on>  2**32-1 byte files, although load() seems
> to work fine on any size of file. I'm a bit surprised I haven't stumbled across
> these problems before. I've tested as far back as 1.4.1. Is this a known issue?
>
> (the ticket has much more detail)
>
> Cheers,
>
> Martin
>

I have attached a patch to ticket #1660. Any chance it could be 
considered for numpy 1.5.1?

Christoph


More information about the NumPy-Discussion mailing list