Why does MATLAB cause my CPU to spike even when MATLAB is idle in MATLAB 8.0 (R2012b)?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 18 Oct 2013
Modifié(e) : MathWorks Support Team
le 19 Nov 2020
Using the Linux "top" command, I can see that MATLAB is using a great deal of the CPU, even when MATLAB is idle, i.e. not running any programs.
After some time (sometimes 45 minutes, sometimes a couple of hours) of opening a session of MATLAB, MATLAB's CPU usage will spike for a few seconds (2-5 seconds) and then drop for a few seconds. This will continue to happen until MATLAB is closed.
Réponse acceptée
MathWorks Support Team
le 10 Mar 2016
This is a bug in MATLAB 8.0 (R2012b) and later releases. This issue may appear in MATLAB R2012a as well. This issue may be related to the new Help browser.
Beginning in MATLAB R2012b, the Help Browser uses a different renderer called the JxBrowser, which provides an enhanced help browsing experience. Because this may be an issue with the JxBrowser, try disabling the JxBrowser and instead use the HTML renderer (which may provide a slightly degraded Help Browser experience).
Launch a new session of MATLAB, and try to disable JxBrowser completely during this session, which can be done by executing the following command at the beginning of a MATLAB session:
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLRENDERER');
This will set a preference disabling JxBrowser, which can be undone with the command:
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType([]);
NOTE: This bug has been fixed in MATLAB R2015a and later versions. Here is a link to its external bug report:
https://www.mathworks.com/support/bugreports/914291
2 commentaires
Richard Crozier
le 18 Août 2014
Modifié(e) : MathWorks Support Team
le 19 Nov 2020
I see this bug, or at least the same symptoms in R2014a. Come on Mathworks, you've had two years to fix it now.
Plus de réponses (1)
timo
le 22 Juil 2018
I observe a lot of lag in Live editor and i see i have like 5 JxChromium Native process opened. I dont understand why Live Editor with Symbolic calculations makes it so laggy,
0 commentaires
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!