Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Matlab memory usage
Posted 03.12.2009, 14:43 GMT-5 3 Replies
Please login with a confirmed email address before reporting spam
Hi everyone,
I have a simple question regarding the Comsol w/ Matlab interface. I have noticed that when I run long parametric sweeps, sometimes I will run out of memory. Since some of my models are fairly memory intensive, this part does not surprise me. However, when I run out of memory, I will clear the workspace using the "clear" command. When I do this, I then check the virtual memory being consumed by Matlab, and I have noticed repeatedly that it is still using nearly as much as before I cleared the workspace. Currently, my only solution is to shut down Matlab completely and restart. Only then will the virtual memory usage go down to a reasonable value.
Has anyone else experienced this problem? Are there any other options I could try so that I don't have to do a full shut-down. Are there any other variables or processes running in the background that I should be aware of? This may be more of a Matlab issue than Comsol, but I've only noticed it with Comsol since its calculations are so memory intensive.
Thanks,
Mike
I have a simple question regarding the Comsol w/ Matlab interface. I have noticed that when I run long parametric sweeps, sometimes I will run out of memory. Since some of my models are fairly memory intensive, this part does not surprise me. However, when I run out of memory, I will clear the workspace using the "clear" command. When I do this, I then check the virtual memory being consumed by Matlab, and I have noticed repeatedly that it is still using nearly as much as before I cleared the workspace. Currently, my only solution is to shut down Matlab completely and restart. Only then will the virtual memory usage go down to a reasonable value.
Has anyone else experienced this problem? Are there any other options I could try so that I don't have to do a full shut-down. Are there any other variables or processes running in the background that I should be aware of? This may be more of a Matlab issue than Comsol, but I've only noticed it with Comsol since its calculations are so memory intensive.
Thanks,
Mike
3 Replies Last Post 16.12.2009, 14:15 GMT-5