How do I clear up some memory?

2 views (last 30 days)
Chad Greene
Chad Greene on 15 Jan 2014
Commented: Matthew Creek on 24 Aug 2023
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.

Accepted Answer

José-Luis
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.

More Answers (0)

Categories

Find more on Performance and Memory in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!