MATLAB killed in Linux
显示 更早的评论
Hi all,
I'm running my code with a elasto-dynamics model, which has 300 degrees of freedom and 300 time steps, and this problem needs to be calculated repeatedly for 225 * 50 times (with a changing parameter).
It takes quite long time so I left the computer running by itself, when I came back terminal showed "killed". After some search I realized that I'd either need more memory or optimize my code. With option 1 impossible for now, I'd need option 2.
I tried to find out the structural fields which cost most memory in each iteration and set them to empty (var = []), but it did not seem working, still got killed. Is there a way in MATLAB like profile viewer, which tells me where cost memory the most?
Thanks!
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Variables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!