1106 How Do I Manage Memory in MATLAB?

Revision: 1.0

Topics Common to All Versions of MATLAB:

Microsoft Windows Specific Topics:

Unix Specific Topics:

What Does "Out of Memory" Mean?

Typically when the "Out of Memory" message appears, it is because MATLAB asked the operating system for a segment of memory larger than that which is currently available. Use of the above mentioned techniques: pre-allocation, clear, pack, save, load, and quit, help optimize the available memory. If the "Out of Memory" message still appears consistently:

(c) Copyright 1996 by The MathWorks, Inc.