Posts: 2
Threads: 1
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Oct 2013
24-08-2020, 06:51 PM
(This post was last modified: 24-08-2020, 06:53 PM by uftmo3.)
Hi,
I am running a large model and receive the attached errors.
It seems it is related to the number thread. But in the CPlex setting, I could not increase that
Any help ?
I have a machine with 16 gb ram.
Posts: 1,972
Threads: 26
Likes Received: 61 in 52 posts
Likes Given: 18
Joined: Jun 2010
24-08-2020, 08:29 PM
(This post was last modified: 24-08-2020, 08:51 PM by Antti-L.)
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.
Posts: 2
Threads: 1
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Oct 2013
24-08-2020, 10:11 PM
(This post was last modified: 24-08-2020, 10:12 PM by uftmo3.)
(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.