Out of Memory Error Message

1 回表示 (過去 30 日間)
Hiba Basim Alwan
Hiba Basim Alwan 2018 年 6 月 7 日
コメント済み: Hiba Basim Alwan 2018 年 6 月 7 日
Dear all ...
I wrote Matlab code, but when I run it on my laptop (windows 10, RAM 20 GB!, System 64 bit, MATLAB version 2017b) an error message appeared to me stated in "Out of memory. Type HELP MEMORY for your options." I try to use matfile (.mat) to overcome this error, but unfortunately, the error message related to memory still appeared to me. So, please how can I overcome this error?
Regards,
  1 件のコメント
Shrestha Kumar
Shrestha Kumar 2018 年 6 月 7 日
provide your code

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

採用された回答

Stephen Devlin
Stephen Devlin 2018 年 6 月 7 日
Two things I can think of.
1. Alter your Java heap size
To adjust the Java heap size:
On the Home tab, in the Environment section, click Preferences. Select MATLAB > General > Java Heap Memory. Select a Java heap size value using the slider or spin box.
2.Depends on the code, are you generating a lot of figures? I have memory issues when I do that, it helps to save them and then close them. You still have them then to add to a report but don't need them in memory.
  1 件のコメント
Hiba Basim Alwan
Hiba Basim Alwan 2018 年 6 月 7 日
thank you so much for your answering.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by