How do I clear up some memory?

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.

 采纳的回答

José-Luis
José-Luis 2014-1-15
编辑:José-Luis 2014-1-15

0 个投票

UNIX systems do not return memory allocated to an application until the application exits. So it's not really a Matlab problem.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Performance and Memory 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by