MATLAB Function Reference Previous page   Next Page
memory

Help for memory limitations

Description

If the out of memory error message is encountered, there is no more room in memory for new variables. You must free some space before you can proceed. One way to free space is to use the clear function to remove some of the variables residing in memory. Another is to issue the pack command to compress data in memory. This opens larger contiguous blocks of memory for you to use.

Here are some additional system-specific tips:

Windows: Increase virtual memory by using System in the Control Panel.

UNIX: Ask your system manager to increase your swap space.

See Also

clear, pack

The Technical Support Guide to Memory Management at http://www.mathworks.com/support/tech-notes/1100/1106.shtml


Previous page  memmapfile menu Next page

© 1994-2005 The MathWorks, Inc.