フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

problem of memory

1 回表示 (過去 30 日間)
Zied
Zied 2012 年 1 月 11 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I'm running a script to generate maps. At the end of processing, the memory that was allocated is not released and the process is completely blocked so I can not even save my outputs and i'm forced to exit Matlab. Do you have any solution for this?
Thanks in advance

回答 (2 件)

Jonathan Sullivan
Jonathan Sullivan 2012 年 1 月 11 日
You are using your paging files. You have a few options:
  1. Buy more RAM
  2. Break up your operation into many steps
  3. Try to rewrite your code to clear variables after use, so as to decrease the memory requirements
  1 件のコメント
Zied
Zied 2012 年 1 月 11 日
Thanks

C.J. Harris
C.J. Harris 2012 年 1 月 11 日
Also ensure that if you are generating Matlab Figures (as an intermediate step) with the 'Visible' property set to false that you close them after use. I know this has caught me out in the past.
  6 件のコメント
C.J. Harris
C.J. Harris 2012 年 1 月 11 日
To show the figure again set its visiblity to true:
set(h, 'Visible','on');
Zied
Zied 2012 年 1 月 11 日
i will test this. Thanks a lot Chris

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by