Memory Allocation Error While Running Simulink
10 views (last 30 days)
Show older comments
Im trying a simulation, it takes 7-8 hours in doing the whole simulation, but when it stops i get these 3 warnings/errors, which are making me lose the whole simulation.

My computer specs are:
- Intel® Core™ i7-9750H
- 16GB RAM (2x8) 2666 MHz
- 256GB SSD
I've tried analyzing CPU and RAM's usage to try to find where the problem occurs. RAM's usage is around 5-7 Gb when the simulation is running, but when it goes to 100% and it starts terminating it uses the whole capacity of the memory, which I think is causing errors to the simulation. I've tried both using my pc while running the simulation and without using it, but both times it ended like this.
Is there any fix to this problem?
0 Comments
Answers (1)
Divyanshu
on 23 Jan 2025
Memory allocation error generally occurs when Simulink requests more memory (RAM) from your operating system than is available. You can refer the following MATLAB answer thread for some troubleshooting steps to resolve the issue:
Hope this helps!
0 Comments
See Also
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!