Thread Subject: Out of Memory problem

Subject: Out of Memory problem

From: Subrat Swain

Date: 7 Dec, 2008 21:49:02

Message: 1 of 3

Hi all,
I am running a program in MATLAB which needs to find out the past iterations for a 1510*1510 matrix. I ran the program but after getting executed for some hours it is
displaying an error saying
 '??? Out of memory. Type HELP MEMORY for your options'.
Actually I do have lot of space in my parent drive of my system but still I am facing the
above error. When I ran the program for 5 iterations it got executed properly.
Can anyone please help me out by suggesting some ways to prevent the above error.
Appreciate for the help.

Thanks and Regards,
Subrat Kumar Swain.

Subject: Out of Memory problem

From: Pete

Date: 7 Dec, 2008 22:56:03

Message: 2 of 3

Use the 'clear' command to clear any unnecessary intermediate variables wherever possible. You can also use 'pack' to consolidate workspace memory. Pre-allocating your storage is also a good idea. Hope this helps. If not, we would need more details on what exactly you are doing.
 

Subject: Out of Memory problem

From: Pete

Date: 7 Dec, 2008 23:03:01

Message: 3 of 3

Perhaps you could also save each iteration of the matrix, then clear it?

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com