Matlab R2021b freezing during simple commands on Monterey 12.2
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Tim Lueth
el 25 de Mzo. de 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.
Respuestas (1)
Tim Lueth
el 6 de Dic. de 2022
https://de.mathworks.com/matlabcentral/answers/863575-matlab-and-sandbox-process-peak-cpu-usage-in-macos-big-sur#answer_1121102
0 comentarios
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!