Memory Allocation Error While Running Simulink

10 ビュー (過去 30 日間)
Juan Gallardo
Juan Gallardo 2020 年 4 月 9 日
回答済み: Divyanshu 2025 年 1 月 23 日
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?

回答 (1 件)

Divyanshu
Divyanshu 2025 年 1 月 23 日
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!

カテゴリ

Help Center および File ExchangeCommunications Toolbox についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by