Matlab stops to process in Linux Mint
6 views (last 30 days)
Show older comments
Davide Piccioni
on 18 Jun 2020
Edited: Davide Piccioni
on 19 Jun 2020
Hi everyone. I'm trying to use Linux Mint for my everyday use. With the university I have to use matlab that seems to work well but when I try to do stressfull calculations (that worked on Windows) the program stops to run without messages of errors or some logs that could help to solve this issue. Thanks for who will answer!
0 Comments
Accepted Answer
Steven Lord
on 18 Jun 2020
Based on that limited information, I'd guess the out-of-memory killer chose to kill MATLAB to free up some memory (so that it can provide a large chunk of memory that MATLAB has requested. ... Oh.)
3 Comments
Steven Lord
on 18 Jun 2020
Some possible alternatives (assuming I am right about it being the OOM Killer.)
Find some way to divide your problem up into pieces so your arrays consume smaller contiguous blocks of memory? Or find a more memory efficient way to solve the problem? [If you show Answers what you're doing, this is one potential idea where we may be able to offer some suggestions.]
End or kill other processes on the system (of your choice) so the system doesn't have to find one to kill on its own to free memory?
Add more memory to your system? [If the problems you're trying to solve are just a little too large for your machine's capabilities, this might provide just enough room to fit your large arrays in memory.]
Search for documentation on the OOM Killer in Linux Mint. I don't know if there are settings you can configure to make it less likely to kill MATLAB in its quest for more memory.
You might want to check again to see if there are any crash log files. Any such logs could indicate a problem with MATLAB, with your code (particularly if you're running a MEX-file), or with the system libraries.
You could also search the Bug Reports to determine if there are any known issues related to what you're doing when MATLAB stops running.
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!