[Scipy-tickets] [SciPy] #1714: fftpack segfault with big arrays

SciPy Trac scipy-tickets@scipy....
Fri Aug 10 15:54:58 CDT 2012

#1714: fftpack segfault with big arrays
 Reporter:  serbanul                       |       Owner:  cdavid     
     Type:  defect                         |      Status:  new        
 Priority:  normal                         |   Milestone:  Unscheduled
Component:  scipy.fftpack                  |     Version:  0.10.0     
 Keywords:  segfault, fftpack, big, array  |  
Changes (by serbanul):

 * cc: S.Udrea@… (added)


 Replying to [comment:1 rgommers]:
 > 4.55e7 elements is 2.9Gb for float64, so should raise a
 {{{MemoryError}}} too.

 4.55e7 is an approximation. I didn't check the limit very precisely. Fact
 is that at nx=22750 and ny=1000 there is no segmentation fault and no
 MemoryError either. With these values the final matrix has 45502000
 elements (because of the two glue rows). The computation runs for a very
 long time. Actually I did not have the patience to wait for it to finish.
 After about 30min I killed the process. During this time top shows that
 one of the machine's CPU cores is running at 100% and that the memory used
 by the python process stays practically constant at about 64.4%, which
 makes approx. 2.38GB if I consider the total available memory as reported
 by top to be approx. 3.69GB.

 Best regards,


Ticket URL: <http://projects.scipy.org/scipy/ticket/1714#comment:2>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list