[AMPL 24842] problem with optimization memory exhausted

This has been answered at discuss.ampl.com:
https://discuss.ampl.com/t/help-about-error-code-10001/781/2?u=4er
https://discuss.ampl.com/t/problem-with-error-code-10001-and-optimization-memory-exhausted/782/2?u=4er