[Scipy-tickets] [SciPy] #1464: spsolve generates a memory error on windows when solving large linear system

SciPy Trac scipy-tickets@scipy....
Fri Jun 24 05:07:35 CDT 2011


#1464: spsolve generates a memory error on windows when solving large linear
system
---------------------------------+------------------------------------------
 Reporter:  richpsharp           |       Owner:  wnbell     
     Type:  defect               |      Status:  new        
 Priority:  normal               |   Milestone:  Unscheduled
Component:  scipy.sparse.linalg  |     Version:  0.9.0      
 Keywords:  spsolve              |  
---------------------------------+------------------------------------------

Comment(by pv):

 Works for me too on Linux. Didn't yet test it on Windows.

 Memory fragmentation is one possible cause -- while there may be 2GB of
 free memory in total, it's possible that there is no contiguous block of
 the desired size available. Such failure would be more likely for large
 memory blocks, so to debug this further, one should check how large the
 failed memory allocation is (e.g. via a debugger breakpoint in `dexpand`
 or recompiling Scipy after adding `#define DEBUG 1` on top of
 scipy_slu_config.h).

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


More information about the Scipy-tickets mailing list