Allocated,Freed ,Self Memory and Peak Memory in profiler.
65 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
LuMig
le 29 Avr 2015
Commenté : Simão Pedro da Graça Oliveira Marto
le 28 Mai 2019
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 commentaire
Simão Pedro da Graça Oliveira Marto
le 28 Mai 2019
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.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Performance and Memory dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!