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 commentaires

David Fletcher
David Fletcher le 12 Avr 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 le 12 Avr 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 le 5 Oct 2018
Some Linux crashed when swapping to an encrypted partition.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by