Hi guys,
I have the following problem. In running a model, I get the following message:
*** Out of Memory in New or GetMem.
*** Out of Memory while executing line 1202
*** HeapLimit = 1E20 HeapSize = 3779.36844
that, I think, means that the allocated memory has reached its limit. Someone else has already encountered the same problem and posted it. The answer she/he received is the following:
It is possible to extend this limit by setting the environment variable LDR_CNTRL. For example, to increase the limit to 20GB, one would set (on bash):
export LDR_CNTRL=MAXDATA=0x800000000
Alternatively, it is possible to edit the information on the limit in the GAMS executable via the ldedit tool:
ldedit -b maxdata:0x800000000 gamscmex.out
Nice, but since I am a very rookie pc user, I have no idea on how to perform these suggestions. I foolishly tried to copy and paste the two lines (expory…and ldedit…) on the gams executable (where I have the model), but this does not work. They are not recognized.
Please, can someone explain me, preferibly in a simple and step by step way, where to go and to write these commands?
Thanks a lot,
Marco
\
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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.