MATLAB is shutting down itself

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 Kommentare

David Fletcher
David Fletcher am 12 Apr. 2018
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 am 12 Apr. 2018
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 am 5 Okt. 2018
Some Linux crashed when swapping to an encrypted partition.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 12 Apr. 2018

Kommentiert:

am 5 Okt. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by