Win32 memory allocation problem.
|Reported by:||tomba||Owned by:||somebody|
|Version:||older||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?
BadAlloc_ScreenShoots.zip - CBCSolve_BadAllocXX.JPG - print screens of call stack
Example.zip - MPS file to perform test