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

5 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 12 Sep 2012
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.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 5 Déc 2023
Modifié(e) : MathWorks Support Team le 22 Juil 2025
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.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by