[Clp-tickets] [COIN-OR Linear Programming Solver] #41: CPL running out of memory with large dataset

COIN-OR Linear Programming Solver coin-trac at coin-or.org
Mon Aug 30 10:32:40 EDT 2010


#41: CPL running out of memory with large dataset
---------------------------+------------------------------------------------
 Reporter:  gmata          |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  major          |   Milestone:          
Component:  component1     |     Version:          
 Keywords:  out of memory  |  
---------------------------+------------------------------------------------
 One of our client was running our application and received an out of
 memory error message.  We were able to reproduce the bug with the
 following command and instance:  clp_solve.exe -m vmbmod_m2 -s p -p

 Note that the vmbmod_m2.mps file is about 199 MB.

 After an hour of running we encountered the error below:

 Unhandled exception at 0x758f9617 in clp_solve.exe: Microsoft C++
 exception: std::bad_alloc at memory location 0x0012bf2c.

 The new operator used to allocate dynamic memory is throwing a _STD
 bad_alloc exception when requesting memory for an array of 107,726,584
 elements (about 102.74 MB). This is a very big amount of elements for an
 array.

 And while running, the Windows task manager shows about 1 GB of memory
 consumed by the clp_solve:

-- 
Ticket URL: <https://projects.coin-or.org/Clp/ticket/41>
COIN-OR Linear Programming Solver <http://projects.coin-or.org/Clp>
A linear programming solver.



More information about the Clp-tickets mailing list