Why do I get 'Out of Memory' errors in MATLAB?

조회 수: 9 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2012년 9월 12일
편집: MathWorks Support Team 2025년 7월 22일
I would like to know how an Operating System manages memory, how to set the swap space for my Operating System, and how I can avoid 'Out of Memory' errors in MATLAB.
I would also like to know how to defragment the MATLAB workspace memory.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 12월 5일
편집: MathWorks Support Team 2025년 7월 22일
Refer to Memory Usage information located at the following URL:
Specifically to the sections:
1. Strategies for Efficient Use of Memory
2. Resolving "Out of Memory" Errors
The links above go over several methods that may be used to avoid "out-of-memory" errors. Specifically, they cover how to utilize memory allocation and several memory management commands that can be used to make code more memory efficient.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by