- Buy more RAM
- Break up your operation into many steps
- Try to rewrite your code to clear variables after use, so as to decrease the memory requirements
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
problem of memory
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (2)
Jonathan Sullivan
am 11 Jan. 2012
You are using your paging files. You have a few options:
1 Kommentar
C.J. Harris
am 11 Jan. 2012
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 Kommentare
C.J. Harris
am 11 Jan. 2012
To show the figure again set its visiblity to true:
set(h, 'Visible','on');
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!