MATLAB Answers

Out of memory at the end of simulation

4 views (last 30 days)
When I run a simulation using sim biology it gives an out of memory error report. It occurs at the end of the simulation just before it gives the figure output.
What have I done wrong?

  1 Comment

Peter Madelung
Peter Madelung on 15 Mar 2013
I tried a different solver and that solved all my problem

Sign in to comment.

Accepted Answer

Ingrid Tigges
Ingrid Tigges on 13 Mar 2013
Out of memory issues can have many different root causes. Bart has valid points with the questions he asked. There are some more questions to ask:
  1. Which operating system are you using?
  2. What is your Java heap space set to?
  3. What happens if you run of the example models from SimBiology?
  4. Which release of SimBiology are you using?
It might be worth contacting Technical Support if you assume the issue is due to your model and don't want public to see your model.


Sign in to comment.

More Answers (1)

Bart Boesman
Bart Boesman on 12 Mar 2013
Hi Peter,
Do you run the 32-bit or 64-bit version of matlab? You can check the maximum allowed memory that you can adress on your system by typing 'memory'. It is also possible that you are trying to plot too many data points. Try interpolating the data to a smaller data set before plotting.


Sign in to comment.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by