# Problem with Error code 10001 and optimization memory exhausted

**URL:** <https://discuss.ampl.com/t/problem-with-error-code-10001-and-optimization-memory-exhausted/782>\
**Category:** Support\
**Created:** [October 26, 2023, 1:12pm UTC](https://discuss.ampl.com/t/problem-with-error-code-10001-and-optimization-memory-exhausted/782 "2023-10-26T13:12:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivi](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/vivi/32/156_2.png) [@Vivi](https://discuss.ampl.com/u/Vivi)\
**Post date:** [October 26, 2023, 1:12pm UTC](https://discuss.ampl.com/t/problem-with-error-code-10001-and-optimization-memory-exhausted/782/1 "2023-10-26T13:12:02Z")

</div>

Dear Robert,

Following your recommandation, I tryed:  
gurobi\_options 'nodefilestart=0.5  
and also  
gurobi\_options 'nodefilestart=3  
and also  
gurobi\_options 'nodefilestart=0.0005

But I have still the same error message. Please find attached the log for gurobi\_options 'nodefilestart=0.0005. That do you think I can do to avoid to exhaust the memory available on the computer?

Best regards,

[log.vivi\_2.dat](https://discuss.ampl.com/uploads/short-url/c2Jf3begMATwV7ySc4UGhMMPQ04.dat) (113.5 KB)

---

<div class="post-metadata">

**Author:** ![4er](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/4er/32/530_2.png) [@4er](https://discuss.ampl.com/u/4er)\
**Post date:** [October 26, 2023, 11:55pm UTC](https://discuss.ampl.com/t/problem-with-error-code-10001-and-optimization-memory-exhausted/782/2 "2023-10-26T23:55:41Z")

</div>

As explained in my reply to your other thread, Gurobi is running out of memory before it can even start to create any search nodes. Thus it cannot write a node file, and the nodefilestart setting is ignored.

---

<div class="post-metadata">

**Author:** ![Vivi](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/vivi/32/156_2.png) [@Vivi](https://discuss.ampl.com/u/Vivi)\
**Post date:** [October 27, 2023, 1:45am UTC](https://discuss.ampl.com/t/problem-with-error-code-10001-and-optimization-memory-exhausted/782/3 "2023-10-27T01:45:37Z")

</div>

Many thanks Mr Robert.
