[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 22:00:38 EST 2008


#43: Win32 memory allocation problem.
-------------------------+--------------------------------------------------
  Reporter:  tomba       |       Owner:  somebody              
      Type:  defect      |      Status:  new                   
  Priority:  blocker     |   Milestone:  milestone1            
 Component:  component1  |     Version:  2.0                   
Resolution:              |    Keywords:  Win32 memory fault CBC
-------------------------+--------------------------------------------------
Comment (by jpfasano):

 I have duplicated the problem in debug mode with the code from trunk using
 the MS V8 compiler.[[BR]][[BR]]

 The message displayed in a popup window is "Unhandled exception at
 0x7c812a5b in cbc.exe: Microsoft C++ exception: std::bad_alloc at memory
 location 0x001219dc."[[BR]][[BR]]

 It occurs at line 2608 of !CoinPackedMatrix.cpp which is
 {{{
    double * newElem = new double[maxSize_];
 }}}
 where maxSize_ is 32412.[[BR]][[BR]]

 I don't know if this is a Cbc(or !CoinUtils) problem. The Operating system
 is failing to return the requested memory.

-- 
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/43#comment:2>
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