MATLAB Answers

When I am running my Simulink Model,after some time ,it mention that "Memory Allocation Error " and "Out of Memory error".Can anyone help me ,how to sove the issues or problems?

4 views (last 30 days)
chittaranjan pradhan
chittaranjan pradhan on 11 Mar 2013
Regarding "How to solve the "Memory Allocation Error "and "Out of Memory error" in MATLAB... When I am running my Simulink Model,after some time ,it mention that Memory Allocation Error "Problem and "Out of Memory" error.Can anyone help me ,how to over come the problem?? So,I can run my model....

Answers (1)

Jason Ross
Jason Ross on 11 Mar 2013
  1. Is your system really out of memory? Use your system's tool that checks memory to see if this it true. On Windows it's Task Manager. On Mac and Linux there are similar programs.
  2. If you are out of memory, see if your system can accept more memory. Buy more memory and install it. If you are on a 32-bit system and you have 4 GB already, upgrade to a 64-bit OS and put more memory in the machine.
Keep in mind, though, that every operating system MATLAB runs on has a 64-bit variant, and has had a 64-bit variant for some time, so these techniques may help for some time, but it's entirely likely that they are only buying you a little time until you hit the memory problems again.

Community Treasure Hunt

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

Start Hunting!