Memory allocation for CPLEX Studio IDE

Describes the oplide.ini file that controls memory allocation for the CPLEX® Studio IDE.

You can change the amount of memory available to the CPLEX Studio IDE in the file <Install_dir>\opl\oplide\oplide.ini.

It contains the following settings by default:

--launcher.XXMaxPermSize
128m
-vmargs
-Xmx1024m
-Xms40m
Default setting for memory allocation Description
--launcher.XXMaxPermSize The size of the permanent generation heap allocated to the IDE launcher. The default size is 128 MB.
-vmargs Arguments passed directly to the Java™ virtual machine.
-Xmx1024m The default maximum memory allocation to the virtual machine is 1 GB.
-Xms40m The default initial memory allocation to the virtual machine is 40 MB.
Note:

If you are changing the oplide.ini file, please keep the following restrictions in mind:

  • If you are adding additional flags to the file, and still want to use the -vmargs flag to modify maximum or initial memory allocation, the -vmargs flag and its arguments must be the last entries in the file, as they are above.

  • The -vmargs flag and its two arguments should each be on their own line in the oplide.ini file. These individual lines are concatenated at run time, so the memory management request in the default oplide.ini file would be expressed on the command line as:

    oplide -vmargs -Xmx1024m -Xms40m
  • Do not concatenate these arguments onto one line in the oplide.ini file. This will result in the flag being ignored.