Skip to main content

Executing memory intensive OPL models


Technote (FAQ)


Question

When executing my OPL model, I run out of memory. What should I do?

Answer

If executing your model in the CPLEX Studio IDE makes the IDE run out of memory, we suggest that you enable the method end() by setting the property "mainEndEnabled" to true (see the documentation: IDE and OPL > Optimization Programming Language (OPL) > Language User's Manual > IBM ILOG Script for OPL > Tutorial: Flow control and column generation > Detailed steps > Ending objects).

If this does not help, try executing the model outside the IDE, with the command oplrun.

If the solve fails with oplrun, try adding the option "-deploy". Information on the "-deploy" option can be found in the documentation under "IDE and OPL > oplrun Command Line Interface > Syntax > Command line options"

If oplrun -deploy does not solve the memory issue, try to solve your model on a 64-bit Operating System.

Finally, if solving your model on a 64-bit OS still produces an "out of memory" error, you may seek advice from IBM Support or IBM Professional Services, who may be able to reformulate the model so that it consumes less memory.


Cross reference information
Segment Product Component Platform Version Edition
Business Integration IBM ILOG OPL-CPLEX-ODM Area:Performance Windows 12.2 All Editions
Business Integration IBM ILOG OPL-CPLEX Development Bundles Area:Performance Platform Independent 6.3 All Editions

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM ILOG CPLEX Optimization Studio

Area:Performance


Software version:
12.2, 12.2.0.1, 12.3, 12.4, 12.5


Operating system(s):
AIX, Linux, Solaris, Windows


Software edition:
All Editions


Reference #:
1459594


Modified date:
2011-01-24

Translate my page

Content navigation