Martin Spacek added the comment:
We've got a near duplicate Issue9015. This thread seems more considered though
:) Note that writing more than 2**32-1 bytes at once results in a hung process
with 100% CPU in 64-bit Windows, which has to be killed with Task Manager. So I
think that qual
Martin Spacek added the comment:
I suppose someone should confirm this problem on Py > 2.6?
--
components: +Extension Modules, Windows
___
Python tracker
<http://bugs.python.org/iss
Martin Spacek added the comment:
It turns out this isn't just a problem with array.array. It's a problem with
Python's file.write() as well. Here's my test code:
# file.write() test:
FOURGBMINUS = 2**32 - 16
s = '0123456789012345' # 16 bytes
longs = ''.
Martin Spacek added the comment:
NumPy is addressing this with a workaround in its ndarray, calling fwrite
multiple times in reasonably sized chunks. See
http://projects.scipy.org/numpy/ticket/1660
--
nosy: +mspacek
type: -> crash
___
Pyt