Matlab R2021b freezing during simple commands on Monterey 12.2
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have recently begun experiencing random freezes when executing simple commands, such as calling an integer variable. This happens after using Matlab normally for 5-15 min. When the operation stalls I attempt to exit with control-C, and get a message like
"Operation terminated by user during mtree (line 132)
In matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip (line 29)
parseTree = mtree(file,'-file');"
but although the computer fan speed slows, Matlab remains busy even after many minutes, and is not responsive. The only solution so far has been to force-quit. The size of the workspace is rather small (<50 MB), so I don't believe that's the issue. I also have been following the recommendation to start Matlab using an alias created from Terminal, rather than directly from the Applications folder. Any ideas as to what's going on?
1 Kommentar
Tim Lueth
am 25 Mär. 2022
I am still using OSX10.15 and OSX10.16 together with R2021b, but even there there is a freeze from time to time due to the OSX processes "Spindump" or "Sandbox", which seem to occupy 98% of the core used by Matlab.
If you terminate these processes manually, Matlab immediately accelerates back to normal behavior.
I have written a Matlab function that detects the appearance of these processes and deletes the processes "Spindump" or "Sandbox" by Matlab itself. The matlab console always (!) freezes when I execute more complex calls of the function "system" from Matlab with accesses to multiple directories of folders using OSX10.15 and OSX10.16 together with R2021b.
Antworten (1)
Tim Lueth
am 6 Dez. 2022
https://de.mathworks.com/matlabcentral/answers/863575-matlab-and-sandbox-process-peak-cpu-usage-in-macos-big-sur#answer_1121102
0 Kommentare
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!