Opened 9 years ago

Closed 8 months ago

#41 closed defect (migrated)

CPL running out of memory with large dataset

Reported by: gmata Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: out of memory Cc:

Description

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:

Attachments (1)

stack_trace.pdf (238.2 KB) - added by gmata 9 years ago.
stack trace

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by gmata

stack trace

comment:1 Changed 8 months ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there: ​https://github.com/coin-or/Clp/issues/41

Note: See TracTickets for help on using tickets.