MATLAB killed in Linux

2 次查看(过去 30 天)
Xh Du
Xh Du 2017-6-17
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 个)

类别

Help CenterFile Exchange 中查找有关 Performance and Memory 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by