[NumPy-Tickets] [NumPy] #1660: ~2**32 byte tofile()/fromfile() limit in 64-bit Windows

NumPy Trac numpy-tickets@scipy....
Wed Nov 3 03:08:10 CDT 2010


#1660: ~2**32 byte tofile()/fromfile() limit in 64-bit Windows
-------------------------------------------------+--------------------------
 Reporter:  mspacek                              |       Owner:  somebody
     Type:  defect                               |      Status:  new     
 Priority:  normal                               |   Milestone:  2.0.0   
Component:  numpy.core                           |     Version:  1.5.0   
 Keywords:  tofile fromfile save 64-bit windows  |  
-------------------------------------------------+--------------------------

Comment(by cgohlke):

 The tofile() call hangs in numpy\core\src\multiarray\convert.c line 84:
 {{{
             n = fwrite((const void *)self->data,
                     (size_t) self->descr->elsize,
                     (size_t) size, fp);
 }}}

 This seems to be the reason: [http://social.msdn.microsoft.com/Forums/en-
 US/vcgeneral/thread/7c913001-227e-439b-bf07-54369ba07994 "fwrite issues
 with large data write"]

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1660#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list