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.
So Why is that?

And what can I do to fix this problem?

Thank you so much

## Out of memory problem

### Re: Out of memory problem

Hi,

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

I hope this helps!

Fred

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

I hope this helps!

Fred

- Wenkey.Shi
- User
**Posts:**4**Joined:**3 weeks ago

### Re: Out of memory problem

Fred wrote: ↑2 weeks 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？

### Re: Out of memory problem

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

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

- Wenkey.Shi
- User
**Posts:**4**Joined:**3 weeks ago

### Re: Out of memory problem

dirkse wrote: ↑2 weeks 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)?

### Re: Out of memory problem

Hi,

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

Best,

Fred

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

Best,

Fred