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.

 Respuesta aceptada

José-Luis
José-Luis el 15 de En. de 2014
Editada: José-Luis el 15 de En. de 2014

0 votos

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

Más respuestas (0)

Categorías

Más información sobre Performance and Memory en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 15 de En. de 2014

Comentada:

el 24 de Ag. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by