Memory limit
 Type: double
 Default value: Infinity
 Minimum value: 0
 Maximum value: Infinity

Limits the total amount of memory (in GB, i.e., <span>$</span>10^9<span>$</span> bytes) available to Gurobi. If more is needed, Gurobi will fail with an OUT_OF_MEMORY error (see the Error Code section for further details).

This parameter must be set when the Gurobi environment is first created. You will need to create an empty environment, set the parameter, and then start the environment.

For examples of how to query or modify parameter values from our different APIs, refer to our Parameter Examples.