[Osi-tickets] [COIN-OR Open Solver Interface] #52: Memory leak in ClpSimplex, Osi 0.97.0 rev. 193

COIN-OR Open Solver Interface coin-trac at coin-or.org
Tue Apr 1 11:25:17 EDT 2008


#52: Memory leak in ClpSimplex, Osi 0.97.0 rev. 193
-----------------------+----------------------------------------------------
  Reporter:  stoinski  |       Owner:  mjs                                              
      Type:  defect    |      Status:  new                                              
  Priority:  minor     |   Milestone:                                                   
 Component:  OsiClp    |     Version:  0.96                                             
Resolution:            |    Keywords:  ClpPresolve ClpSimplex presolvedModel memory leak
-----------------------+----------------------------------------------------
Comment (by stoinski):

 I generated an MPS file for my problem using
 OsiClpSolverInterface::writeMps() and runned this file using both Osi-0.97
 and Osi-0.98 with a slightly modified program basic.cpp found in
 Osi/examples/basic.cpp. I attached the modified version, which primitively
 traces new and delete calls. Comparing the output of this program for new
 and delete, also looking in /proc/self/stat, tasklist.exe or top shows,
 that the memory usage is growing and not all resources are released
 correctly.
 Unfortunally my mps file is quite huge (24MB, 1.6MB compressed) and I
 can't upload it to this wiki page. But I can send it to you any time, if
 you ask.
 Regards
 Daniel

-- 
Ticket URL: <https://projects.coin-or.org/Osi/ticket/52#comment:1>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).



More information about the Osi-tickets mailing list