Path: news.mathworks.com!not-for-mail
From: "Pete" <petematlab@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Out of Memory problem
Date: Sun, 7 Dec 2008 22:56:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <ghhka3$er1$1@fred.mathworks.com>
References: <ghhgce$9fn$1@fred.mathworks.com>
Reply-To: "Pete" <petematlab@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1228690563 15201 172.30.248.35 (7 Dec 2008 22:56:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 7 Dec 2008 22:56:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1305424
Xref: news.mathworks.com comp.soft-sys.matlab:505496


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.