Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am having trouble using NMinimize in Mathematica 9 - Memory consumption overflows.

The same NMinimize command, with the same function to minimize, in Mathematica 7 and 8, gives acceptable results.

Is this a bug? Anyone else has had similar issues? Any workarounds ?

share|improve this question
How are we to know or confirm anything or suggest a workaround if you do not provide an example? Please edit your post to include a minimal example that reproduces the problem, showing the memory increase in 9, but not 7 and 8. –  The Toad Oct 23 '13 at 20:41
@rm-rf I can send you the nootebook. The code is very large. If I simplify the code im not sure that i can obtain the same behavior. Do I send you the notebook? –  alcohol Oct 23 '13 at 20:49
I'm afraid I won't have the time to look through a very large code base (and am reluctant to, as well). I suspect most folks here might feel the same, which is why we suggest reducing the problem to a minimal example. If that is not possible, it seems to me like your best bet here would be contacting Wolfram support directly at support@wolfram.com They have resources at their disposal to closely reproduce your system config and check to see if the memory leak can be reproduced as well. BTW, are you running 9.0.0 or 9.0.1? –  The Toad Oct 23 '13 at 20:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.