[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #43: Win32 memory allocation problem.

COIN-OR Branch-and-Cut MIP Solver coin-trac at coin-or.org
Mon Feb 4 10:35:34 EST 2008


#43: Win32 memory allocation problem.
------------------------------------+---------------------------------------
 Reporter:  tomba                   |       Owner:  somebody  
     Type:  defect                  |      Status:  new       
 Priority:  blocker                 |   Milestone:  milestone1
Component:  component1              |     Version:  2.0       
 Keywords:  Win32 memory fault CBC  |  
------------------------------------+---------------------------------------
 We are using CBC version 2.0.0 (CBCSolve standalone console application
 with little modification to make MPS file), to perform a MILP binary
 problem on win32 platform (windows XP). Program is compiled by MS Visual
 Studio 2005 version 8.0.50727.
 In many cases it works fine, but here we have one case (TZ.MPS
 file) where after some time (about half hour - depends on processor power)
 exception std::bad_alloc is raised. A new operator, from which exception
 is raised, is located in CoinPackedMatrix.cpp line 2460, as you can see in
 print screens attached. Lack of memory is not the problem! During the
 execution of program, memory, seeing from Windows Task Manager, raised
 from 30MB to 70MB, but more then 1GB of RAM was free.

 Identical or similar problem was detected by AJK (CbcModel.cpp, line5369)

 Questions: Is there something that we can modify in our system that will
 help to solve this problem on Win32 platform?

 Attached files:
 BadAlloc_ScreenShoots.zip - CBCSolve_BadAllocXX.JPG - print screens of
 call stack

 Example.zip - MPS file to perform test


 Thanks,

 Dragan Tomic

-- 
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/43>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.



More information about the Cbc-tickets mailing list