Out of memory problem

Post Reply
User avatar
Wenkey.Shi
User
User
Posts: 4
Joined: 8 months ago

Out of memory problem

Post by Wenkey.Shi »

Hello everybody,


I have a problem when I run a very big model on GAMS. More precisely, the model was ended before executing, because of a memory problem.The following message comes out to me:

**** SOLVER STATUS 13 System Failure
**** MODEL STATUS 13 Error No Solution
** Fatal Error ** Insufficient memory for setup of optimization vectors.

You must request more memory.
Current CONOPT space = 8191.00 Mbytes
Estimated CONOPT space =32508.28 Mbytes
Minimum CONOPT space = 64.00 Mbytes

But the problem is, my computer has 2T memories.
image.png
So Why is that?
And what can I do to fix this problem?

Thank you so much
Fred
Posts: 373
Joined: 7 years ago

Re: Out of memory problem

Post by Fred »

Hi,

This message is explicitly discussed in the GAMS Conopt solver manual including a suggested solution (adjust the workFactor).

I hope this helps!

Fred
User avatar
Wenkey.Shi
User
User
Posts: 4
Joined: 8 months ago

Re: Out of memory problem

Post by Wenkey.Shi »

Fred wrote: 7 months ago Hi,

This message is explicitly discussed in the GAMS Conopt solver manual including a suggested solution (adjust the workFactor).

I hope this helps!

Fred

Thanks Fred,

But I have tried to change "workfactor" and "workspace" opt before , it seems doesn't work. Did I misunderstand it?
image.png
image.png
User avatar
dirkse
Moderator
Moderator
Posts: 215
Joined: 7 years ago
Location: Fairfax, VA

Re: Out of memory problem

Post by dirkse »

Wenkey,

I think you have misunderstood the workfactor option:

https://www.gams.com/44/docs/UG_GamsCal ... workfactor

The value of 1 is the default. Anything larger than one grows the workspace used by CONOPT. 2 is a reasonable value to try. 10 is fairly aggressive. 1e299 is not reasonable.

HTH,

Steve
User avatar
Wenkey.Shi
User
User
Posts: 4
Joined: 8 months ago

Re: Out of memory problem

Post by Wenkey.Shi »

dirkse wrote: 7 months ago Wenkey,

I think you have misunderstood the workfactor option:

https://www.gams.com/44/docs/UG_GamsCal ... workfactor

The value of 1 is the default. Anything larger than one grows the workspace used by CONOPT. 2 is a reasonable value to try. 10 is fairly aggressive. 1e299 is not reasonable.

HTH,

Steve


Thanks Dr,
I am sorry to post so basic problem like this!But I still can't fix it by adjust the "workfactor" opt.:( . I've tried to change this opt to 2 or 3 and 3 is the max. Maybe it means that this model's vectors needs more than 2T space? Or maybe I need to change the model's solver(CNS)?
image.png
image.png (11.51 KiB) Viewed 5050 times
image.png
Fred
Posts: 373
Joined: 7 years ago

Re: Out of memory problem

Post by Fred »

Hi,

Would it be possible to share your code and data such that we can try to reproduce the issue?

Best,
Fred
Post Reply