How to resolve high CPU usage from multiple "InstallMathWorks" processes on Mac when using MATLAB?

When I use MATLAB on my MacBook Pro, after some time, the system starts spawning a large number of "InstallMathWorks" processes. These processes use all my CPU cores and do not end when I quit MATLAB. The only way to stop them is by restarting the computer. How can I prevent MATLAB from creating these processes and consuming all system resources? I am using MATLAB on macOS.

 Akzeptierte Antwort

This issue is caused by the "MathWorksServiceHost" or "InstallMathWorksServiceHost" processes entering a corrupted state, which prevents them from terminating properly. As a result, they continue to consume system resources even after MATLAB has been closed.
To resolve this issue, follow these steps:
  1. Quit MATLAB if it is currently running.
  2. Open the Activity Monitor (you can find this in Applications > Utilities).
  3. In the Activity Monitor, search for any processes named MathWorksServiceHost or InstallMathWorksServiceHost. Please select and quit (force quit if needed) all of these processes.
  4. Next, using Finder, please navigate to the following folders and delete them: 
    • ~/Library/Application Support/MathWorks/ServiceHost
  5. ~/Library/Application Support/MathWorks/MATLABConnector
  6. Once these folders have been deleted, restart MATLAB and check if the issue persists.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by