VedaSupport Forum
Cplex out of memory - Printable Version

+- VedaSupport Forum (https://forum.kanors-emr.org)
+-- Forum: VEDA Front End (https://forum.kanors-emr.org/forumdisplay.php?fid=2)
+--- Forum: Tips and Suggestions (https://forum.kanors-emr.org/forumdisplay.php?fid=8)
+--- Thread: Cplex out of memory (/showthread.php?tid=873)



Cplex out of memory - uftmo3 - 24-08-2020

Hi,  I am running a large model and receive the attached errors. [attachment=901] It seems it is related to the number thread. But in the CPlex setting, I could not increase that  [attachment=902] Any help ? I have a machine with 16 gb ram.


RE: Cplex out of memory - Antti-L - 24-08-2020

See:  https://support.gams.com/solver:error_1001_out_of_memory I suspect there may be something unusual about your model, because I think your size should fit well in 16 Gb. I'd say the first things to try would be using names no and maybe barorder 3 in cplex.opt.  If that does not help, you can also try using memoryemphasis 1, but that may slow down the solution considerably. As far as I can tell, the more threads are used, the more memory is needed, and so increasing the number of threads should not help. Also, just in case: make sure you are using 64-bit GAMS/Cplex.


RE: Cplex out of memory - uftmo3 - 24-08-2020

(24-08-2020, 08:29 PM)Antti-L Wrote: See:  https://support.gams.com/solver:error_1001_out_of_memory I suspect there may be something unusual about your model, because I think your size should fit well in 16 Gb. I'd say the first things to try would be using names no and maybe barorder 3 in cplex.opt.  If that does not help, you can also try using memoryemphasis 1, but that may slow down the solution considerably. As far as I can tell, the more threads are used, the more memory is needed, and so increasing the number of threads should not help. Also, just in case: make sure you are using 64-bit GAMS/Cplex.
Thanks,  The solution in the above link helped and resolved the problem.