How do I clear up some memory?
2 views (last 30 days)
Show older comments
When I run computationally-intensive scripts, memory usage goes up and my computer slows down a little bit. This is to be expected. But sometimes after running one of these scripts I close all and clear all, yet when I check my system Activity Monitor Matlab is still using 3.5 GB and my computer runs slow until I restart Matlab. Any tricks for clearing up memory without restarting Matlab? I'm running Matlab R2012b on OSX 10.8.5.
0 Comments
Accepted Answer
José-Luis
on 15 Jan 2014
Edited: José-Luis
on 15 Jan 2014
UNIX systems do not return memory allocated to an application until the application exits. So it's not really a Matlab problem.
1 Comment
Matthew Creek
on 24 Aug 2023
Here are some links to related documentation:
More Answers (0)
See Also
Categories
Find more on Performance and Memory in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!