My laptop has 16 GBs of RAM. And I can see that while a script is running, matlab uses 15 GBs of RAM. And I think that it shuts itself down when that reach 16 gb. So my operation is always being interrupted. Is there any way to avoid that? Or what might be the other reasons?

댓글 수: 4

David Fletcher
David Fletcher 2018년 4월 12일
Shutdowns like that are more often due to the CPU overheating. When the RAM usage gets high rather than shutting down, the computer usually starts thrashing the hard disk as it resorts to using virtual memory. Have you tried monitoring the CPU temperature to see if it gets abnormally high? Laptops can sometimes be problematic in this regard as their cooling is typically not as good as a desktop. It's not impossible that it's a hardware problem with the memory. You could try running memtest if the CPU temperature checks out to be normal.
Walter Roberson
Walter Roberson 2018년 4월 12일
Would you happen to be using Linux ?
Hi, I have a similar issue on all my Ubuntu machines. Matlab seems to shutdown, whenever the code is computationally extensive. Since, you mentioned Linux, do you have any suggestions?
Walter Roberson
Walter Roberson 2018년 10월 5일
Some Linux crashed when swapping to an encrypted partition.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

질문:

2018년 4월 12일

댓글:

2018년 10월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by