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 Center および File ExchangeMATLAB Compiler についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by