|
I don't have an answer but a question instead. I work with huge matrices and after some time running them, matlab gets out of memory. I have 2.66 GHz and 3.24 GB of RAM. Is there some other solution possible rather than batching up the code (which I'm trying to do)?
Roc?o
"Luigi Giaccari" <giaccariluigi@msn.com> wrote in message <h2j3g9$jgo$1@fred.mathworks.com>...
> "Peter Russo" <peter.russo@gmail.com> wrote in message <h2j095$gj3$1@fred.mathworks.com>...
> > Hi,
> > I am continually running out of memory, because I am doing a lot of work with images. using "feature('memstats')" i found out that i have 1.5GB free virtual memory free when i start matlab, and the largest contiguous free block is 1.2GB after doing a lot of work, both of these drop drastically. I tried using "pack" and "clear" to free up memory and defragment it, but neither one helps free up any memory. Does anyone know why this is or how to fix it? Thanks
>
>
> I reply partially and I propose a new question.
>
> You can solve this problem batching the code. I don't why but my version can only handle about 7e6 doubles. After that help memory error.
>
> Dodes anybody knows whay this error occurs so early?
>
> http://giaccariluigi.altervista.org/blog/
|