How to clear the memory consumed by MATLAB Process after some simulations?
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When I start the MATLAB, the size consumed by the process is 385 Mb. After i run 200 Simulations, memory consumed by the MATLAB process is 10 Gb.
So I want to clear the simulation data periodically because I save the simulation data to hard disk. clear all does not help. Let me know how to recover the data consumed by the matlab process.
1 comentario
Al Dente
el 4 de Ag. de 2015
http://www.mathworks.com/matlabcentral/answers/107877-does-matlab-have-memory-leaks, I don't know if this would help.
Respuestas (1)
Walter Roberson
el 4 de Ag. de 2015
pack() is the routine to use. Note that it can only be done when you are at the command line, and it will clean everything out of memory.
2 comentarios
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!