Memory Allocation Error While Running Simulink

10 Ansichten (letzte 30 Tage)
Juan Gallardo
Juan Gallardo am 9 Apr. 2020
Beantwortet: Divyanshu am 23 Jan. 2025
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?

Antworten (1)

Divyanshu
Divyanshu am 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!

Kategorien

Mehr zu Communications Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by