Heap size limits exceeded. What to do?

Problems with modeling
Post Reply
womatar
User
User
Posts: 2
Joined: 1 year ago

Heap size limits exceeded. What to do?

Post by womatar »

Hello All,

I'm running into this issue where I exceed the heap size limit when I run the model. It solves, but it doesn't follow through with the report writing and exporting the display parameters. I can't really compromise on its number of variables/equations. I understand it's a memory issue. I've been trying to cut down on the post-solve display parameters, but I'm still having these issues. Any help?

Thank you.
abhosekar
Moderator
Moderator
Posts: 295
Joined: 3 years ago

Re: Heap size limits exceeded. What to do?

Post by abhosekar »

What type of model do you have, what solver are you using? What's the size of the model?
For something like CPLEX and LP/MIP, there are several useful guidelines/options mentioned in GAMS documentation.

https://www.gams.com/latest/docs/S_CPLE ... IMITATIONS

https://www.gams.com/latest/docs/S_CPLE ... P_PROBLEMS

HTH.

- Atharv
womatar
User
User
Posts: 2
Joined: 1 year ago

Re: Heap size limits exceeded. What to do?

Post by womatar »

I use CBC and the model is a LP. I tried exploring some of the options that pertain to CPLEX, but CBC doesn't support them.
Post Reply