CONOPT
|
define Limit on Heap Memory.
By default CONOPT will allocate the memory it needs from the computers heap memory using Allocate
or malloc
calls. For very large models CONOPT may try to allocate more than the available physical memory and the responsiveness of the computer may suffer. This may not be acceptable in certain server environments. This method is used to define a limit on the amount of heap memory that CONOPT will allocate. If CONOPT reaches a point where it needs more memory than allowed it will try to continue without extra memory (if this is possible) or it will stop with an out of memory message and the sovle will return the value 113 or 114.
MaxHeap
is measured in MegaBytes. A positive MaxHeap
value indicates a limit while Maxheap = 0.0
indicates that the limit is set by the physical memory or the virtual memory system on the machine. After you have solved a model you can query the amount of memory actually used with the coiget_maxheapused() or COIGET_MaxHeapUsed().
The call is optional.
maxheap | the limit on heap memory |