MATLAB consuming a lot of CPU while idle

조회 수: 93 (최근 30일)
Isaac De La Cruz
Isaac De La Cruz 2023년 6월 28일
편집: Isaac De La Cruz 2023년 7월 4일
I have noticed in my machine that some processes started by MATLAB are consuming a lot of CPU power while MATLAB being idle (I can tell because my computer fans never stop until I close MATLAB!).
Checking the processes, I can see two instances of "jxbrowser-chromium.exe" always taking +15% of CPU time each (see image below).
My MATLAB instance is usually open with a MATLAB project loaded and idle (not running any scripts or functions or anything that displays the "Busy" label in the Command prompt).
Any suggestions or things I can try to make MATLAB consume less CPU?
Thanks in advance!

답변 (1개)

Harsh Mahalwar
Harsh Mahalwar 2023년 6월 29일
편집: Harsh Mahalwar 2023년 6월 29일
Hey Isaac,
I understand, you are looking for ways to limit MATLAB CPU usage.
Here are some ways to do so:
  1. You can try decreasing the priority of MATLAB proccess, to do so you can simply go to details in your taskmanager, find MATLAB proccess, right click on it and change it's priority.
  2. Limit the number of parallel workers, If you are using parallel computing in MATLAB, reducing the number of parallel workers can help lower the CPU usage. To do so, you can adjust the number of workers using the parpool command or by modifying the parallel pool settings.
  3. Optimize graphics settings, for example, you can disable certain graphics features or reduce the resolution of plots to lower the computational load
  4. Use MATLAB compiler instead, If you have MATLAB code that runs in the background as a standalone application, consider using MATLAB Compiler to create an executable file. (this might not help much in your case)
These methods might help you in reducing the CPU usage of MATLAB but if they don't, feel free to reach out to MATLAB email support (If you have a valid license).
You can click on this link to learn more about limiting the CPU availablity to MATLAB.
Best regards,
Harsh Mahalwar
  댓글 수: 1
Isaac De La Cruz
Isaac De La Cruz 2023년 7월 4일
편집: Isaac De La Cruz 2023년 7월 4일
Hello Harsh!
Thanks for the quick response.
Actually (while MATLAB being idle), I do not use any of the points mentioned above. I am okay with MATLAB consuming processing time, but not while being idle.
I tried just killing the "jxbrowser-chromium.exe" processes and MATLAB did not crash at all! (I know it has to do something with MATLAB documentation window). It may not be a good solution, but it keeps my PC not sounding like a furnace while having MATLAB idle.
However, I am interested in the bullet 3), how can I modify the graphics settings and reduce plots resolution?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by