Thread Subject: HELP! Out of memory?

Subject: HELP! Out of memory?

From: Mike

Date: 2 Jan, 2007 21:21:17

Message: 1 of 8

Hi all,

I constantly met with "out-of-memory" error. This is really a headache. The
Matlab's symbolic toolbox calling Maple seems has a very large memory demand
and it does not clear using "clear all"...

But anyway, I know Matlab always has the 2GB memory limitation.

My question is: Suppose I am going to buy a Intel Dual Core dore, or even
Quad core, I heard thay are 64 bit system.

And if I buy 8GB or more memory. And use a Matlab 2006b or 2007a.

Matlab will never complain "out-of-memory", and I will get rid of this
headache out of my life, am I right?

Thanks

Subject: HELP! Out of memory?

From: Jerome

Date: 3 Jan, 2007 03:26:49

Message: 2 of 8

Hi,

see "Handling Large Data Sets Efficiently in MATLAB" in the FEX :

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=9060

Jérôme

Subject: HELP! Out of memory?

From: Mike

Date: 3 Jan, 2007 00:54:37

Message: 3 of 8


"Jér?me" <dutmatlab@yahoo.fr> wrote in message
news:A7CC0AEC47A6FAFF37D8BDFC72D202FB@in.webcrossing.raydaftYaTP...
> Hi,
>
> see "Handling Large Data Sets Efficiently in MATLAB" in the FEX :
>
> http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=9060
>
> Jérôme

Yes, there are good tricks there. Thanks a lot for the useful info.

However, those workarounds are time-consuming.

Since I am planning to buy a PC anyway, will I get rid of the Matlab
out-of-memory problem forever if I do a 64bit PC?

Subject: HELP! Out of memory?

From: Peter Boettcher

Date: 3 Jan, 2007 10:45:19

Message: 4 of 8

"Mike" <housing2006@gmail.com> writes:

> Hi all,
>
> I constantly met with "out-of-memory" error. This is really a headache. The
> Matlab's symbolic toolbox calling Maple seems has a very large memory demand
> and it does not clear using "clear all"...
>
> But anyway, I know Matlab always has the 2GB memory limitation.
>
> My question is: Suppose I am going to buy a Intel Dual Core dore, or even
> Quad core, I heard thay are 64 bit system.
>
> And if I buy 8GB or more memory. And use a Matlab 2006b or 2007a.
>
> Matlab will never complain "out-of-memory", and I will get rid of this
> headache out of my life, am I right?

Basically. Until you start wanting to process 4GB datasets...

Be sure you get a 64-bit OS and 64-bit MATLAB or it won't help...


--
Peter Boettcher <boettcher@ll.mit.edu>
MIT Lincoln Laboratory
MATLAB FAQ: http://www.mit.edu/~pwb/cssm/

Subject: HELP! Out of memory?

From: Mike

Date: 3 Jan, 2007 11:11:22

Message: 5 of 8


"Peter Boettcher" <boettcher@ll.mit.edu> wrote in message
news:m3slesazcg.fsf@coyote.llan.ll.mit.edu...
> "Mike" <housing2006@gmail.com> writes:
>
>> Hi all,
>>
>> I constantly met with "out-of-memory" error. This is really a headache.
>> The
>> Matlab's symbolic toolbox calling Maple seems has a very large memory
>> demand
>> and it does not clear using "clear all"...
>>
>> But anyway, I know Matlab always has the 2GB memory limitation.
>>
>> My question is: Suppose I am going to buy a Intel Dual Core dore, or even
>> Quad core, I heard thay are 64 bit system.
>>
>> And if I buy 8GB or more memory. And use a Matlab 2006b or 2007a.
>>
>> Matlab will never complain "out-of-memory", and I will get rid of this
>> headache out of my life, am I right?
>
> Basically. Until you start wanting to process 4GB datasets...
>
> Be sure you get a 64-bit OS and 64-bit MATLAB or it won't help...
>
>
> --
> Peter Boettcher <boettcher@ll.mit.edu>
> MIT Lincoln Laboratory
> MATLAB FAQ: http://www.mit.edu/~pwb/cssm/


No I didn't need 4GB dataset. It is not data per se that consumes memory.
The Matlab symbolic box which calls Maple also consumes tremendous memory. I
am doing some mid-size and time-consuming symbolic computation, as follows:

(Note I've changed manually the loop into the following form in order to do
clear all)

clear all;
job1;
clear all;
job2;
clear all;
job3;
....

still it leaks memory.... it can finish the job1, and job2, but at job3, it
says out of memory...

Subject: HELP! Out of memory?

From: Laszlo

Date: 25 Sep, 2007 21:23:34

Message: 6 of 8

"Mike" <housing2006@gmail.com> wrote in message
<engv4e$sak$1@news.Stanford.EDU>...
>
> "Peter Boettcher" <boettcher@ll.mit.edu> wrote in message
> news:m3slesazcg.fsf@coyote.llan.ll.mit.edu...
> > "Mike" <housing2006@gmail.com> writes:
> >
> >> Hi all,
> >>
> >> I constantly met with "out-of-memory" error. This is
really a headache.
> >> The
> >> Matlab's symbolic toolbox calling Maple seems has a
very large memory
> >> demand
> >> and it does not clear using "clear all"...
> >>
> >> But anyway, I know Matlab always has the 2GB memory
limitation.
> >>
> >> My question is: Suppose I am going to buy a Intel Dual
Core dore, or even
> >> Quad core, I heard thay are 64 bit system.
> >>
> >> And if I buy 8GB or more memory. And use a Matlab 2006b
or 2007a.
> >>
> >> Matlab will never complain "out-of-memory", and I will
get rid of this
> >> headache out of my life, am I right?
> >
> > Basically. Until you start wanting to process 4GB
datasets...
> >
> > Be sure you get a 64-bit OS and 64-bit MATLAB or it
won't help...
> >
> >
> > --
> > Peter Boettcher <boettcher@ll.mit.edu>
> > MIT Lincoln Laboratory
> > MATLAB FAQ: http://www.mit.edu/~pwb/cssm/
>
>
> No I didn't need 4GB dataset. It is not data per se that
consumes memory.
> The Matlab symbolic box which calls Maple also consumes
tremendous memory. I
> am doing some mid-size and time-consuming symbolic
computation, as follows:
>
> (Note I've changed manually the loop into the following
form in order to do
> clear all)
>
> clear all;
> job1;
> clear all;
> job2;
> clear all;
> job3;
> ....
>
> still it leaks memory.... it can finish the job1, and
job2, but at job3, it
> says out of memory...
>
>

I have the same problem. If you check the reserved memory
with Task Manager you can see that Matlab reserves a lot of
memory after the "clear all". More that the 100Mb basic.
I think the symbolic engine leaks the memory what I use
extensively.

Any solution for that?

Cheers,

Laszlo

Subject: HELP! Out of memory?

From: Alfonso Camargo

Date: 17 Oct, 2007 06:16:08

Message: 7 of 8

>
> I have the same problem. If you check the reserved memory
> with Task Manager you can see that Matlab reserves a lot of
> memory after the "clear all". More that the 100Mb basic.
> I think the symbolic engine leaks the memory what I use
> extensively.
>
> Any solution for that?
>
> Cheers,
>
> Laszlo


Same problem here. In my case, it's not a matter of data
size. Once I started calling symbolic maths, my simulation
started crashing because of memory. Neither "clear maplemex;
maple clear; maple restart;" free the used memory. It
consumes all the memory (virtual) until it stops. Not even
"clear all" doesn't work. There must be something wrong here.

Already 2 weeks of simulation time lost trying to
identifying the problem.

Thanks a lot for any help.

Alfonso

Subject: HELP! Out of memory?

From: Alfonso Camargo

Date: 17 Oct, 2007 06:16:55

Message: 8 of 8

>
> I have the same problem. If you check the reserved memory
> with Task Manager you can see that Matlab reserves a lot of
> memory after the "clear all". More that the 100Mb basic.
> I think the symbolic engine leaks the memory what I use
> extensively.
>
> Any solution for that?
>
> Cheers,
>
> Laszlo


Same problem here. In my case, it's not a matter of data
size. Once I started calling symbolic maths, my simulation
started crashing because of memory. Neither "clear maplemex;
maple clear; maple restart;" free the used memory. It
consumes all the memory (virtual) until it stops. Not even
"clear all" doesn't work. There must be something wrong here.

Already 2 weeks of simulation time lost trying to
identifying the problem.

Thanks a lot for any help.

Alfonso

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
maple Ned Gulley 28 Sep, 2007 17:48:28
memory Ned Gulley 28 Sep, 2007 17:48:28
symbolic Ned Gulley 28 Sep, 2007 17:48:28
symbolic memory... Laszlo 25 Sep, 2007 17:25:23
rssFeed for this Thread

Contact us at files@mathworks.com