To begin, I’m going to ask an overly-generic question. Hopefully, the post has enough information so that someone can point me in the right direction, and I can then ask more specific questions, with specific examples from my code.
I have a GAMS .gms script that solves the same model numerous times in a loop (each time I solve, I change some parameters). After solving many times, the loop eventually fails prematurely, and the following message is reported to the display:
Not enough storage is available to process this command.
ERROR: Solver “LINDO” returned with nonzero exitcode 8
*** Error: Could not spawn gamscmex, rc = 8
Cmex executable : C:\GAMS\win64\24.1\gamscmex.exe
System directory: C:\GAMS\win64\24.1
Not enough storage is available to process this command.
err: solver rc 8
In general, why do these types of errors occur in GAMS? That is, what types of problems should I look for in my script? Are there common “RAM leaks” (i.e. memory leaks) that can be avoided?
I’ve completely turned off the .lst listing file and the .log file, but this doesn’t seem to help (which makes sense, because this uses physical memory, not RAM).
I also open and close my “put” results file each time I append to it, but I would guess that this is irrelevant…?
Thank you for your time,
Tom
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.