Allocated,Freed ,Self Memory and Peak Memory in profiler.
21 次查看(过去 30 天)
显示 更早的评论
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 个评论
Simão Pedro da Graça Oliveira Marto
2019-5-28
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.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Performance and Memory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!