MATLAB killed in Linux

3 views (last 30 days)
Xh Du
Xh Du on 17 Jun 2017
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!

Answers (0)

Categories

Find more on Performance and Memory in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!