Allocated,Freed ,Self Memory and Peak Memory in profiler.

65 visualizaciones (últimos 30 días)
Hi,
When choosing:
profile on;
profile('-memory','on');
setpref('profiler','showJitLines',1);
four types of memory appears:
Allocated Memory,Freed Memory,Self Memory and Peak Memory. would anybody explain the different meanings of those memory types??
  1 comentario
Simão Pedro da Graça Oliveira Marto
I get an error when running your code:
"Cannot change the memory while logging is enabled."
"profile on" must be run after "profile('-memory','on');" because the latter only works if profile is off.

Iniciar sesión para comentar.

Respuesta aceptada

Jonas
Jonas el 8 de Jun. de 2017
Hello, maybe this answer can helps you.

Más respuestas (0)

Categorías

Más información sobre Performance and Memory en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by