フィルターのクリア

Clear MATLAB RAM Usage

4 ビュー (過去 30 日間)
Kartikeya Singh-Freeman
Kartikeya Singh-Freeman 2021 年 10 月 10 日
編集済み: Kartikeya Singh-Freeman 2021 年 10 月 15 日
So I am running a MATLAB Live Script, and with each test run through RAM consumption increases to the point where I get a JAVA Heap Space error. I have tried clear, clc, pack with no success.
The only success I have had is manually closing MATLAB, and running it but this is cumbersome.
Does anyone have any tips as this is pretty rediculous?
  2 件のコメント
Akshat Gupta
Akshat Gupta 2021 年 10 月 13 日
What is your workflow?
Can you share the Live Script?
Kartikeya Singh-Freeman
Kartikeya Singh-Freeman 2021 年 10 月 15 日
編集済み: Kartikeya Singh-Freeman 2021 年 10 月 15 日
Hey Akshat, I solved this issue by not using live scripts. I now just use the normal scripts (.m) and have not been having any issues. The live scripts need to be fixed because my experience is that the RAM usage is atleast 3-4 times higher than normal scripts, and also accumulates with each run.
I can generate and save 200 + figures with the normal script but with the live script as soon as I get to 50 or so it runs out of RAM and throws a JAVA Heap Space error.

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

回答 (0 件)

カテゴリ

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by