フィルターのクリア

Matlab memory allocation error

18 ビュー (過去 30 日間)
chhavilata sahu
chhavilata sahu 2019 年 9 月 17 日
回答済み: Shishir Singhal 2020 年 7 月 28 日
Hi,
I am getting this error while running simulink model. Simulation is running for 80 sec and terminating with this error can't reload'C:\Program Files\MATLABR2015b\bin\win32\shared_sdi_mcos.dll. The diagonastic viewer error is attached here. I have enough space in my C drive. Please let me know how should I resolve this issue
  2 件のコメント
Walter Roberson
Walter Roberson 2019 年 9 月 17 日
You have configured data logging to RAM, but you are running out of RAM for data points during the simulation.
You could put selection logic on the line so that you logged less information (e.g., decimate the signals before logging), or you could run at a lower frequency, or for less time.
Or you could configure logging to disk. This option might not be available for some kinds of simulation, possibly.
The can't reload message is not uncommon when you have run out of RAM, as the software is unable to find enough virtual memory to load in DLL that it swapped out.
chhavilata sahu
chhavilata sahu 2019 年 9 月 17 日
Thanks Walter for the response,
I have turned off the data logging, now its working but that's not a solution for me. I have good free space in my C drive. How should I increase the space for virtual memory?

サインインしてコメントする。

回答 (1 件)

Shishir Singhal
Shishir Singhal 2020 年 7 月 28 日
Hi,
Assuming that you are using windows OS. To increase the virtual memory space:
  • go to start menu(assuming windows).
  • right click on my computer, go to properties.
  • go to advanced tab.
  • click performance options and go to virtual memory section and change paging file size
Hope it helps !!!
Thanks

カテゴリ

Help Center および File ExchangeSchedule Model Components についてさらに検索

タグ

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by