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 Comments

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.
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?
Some Linux crashed when swapping to an encrypted partition.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 12 Apr 2018

Commented:

on 5 Oct 2018

Community Treasure Hunt

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

Start Hunting!