Reducing CPU load and energy consumption of TeXstudio on the Mac

TeXstudio is a decent and free TeX editor on the Mac. One aspect of it bothered me, though: It uses too much CPU for no obvious reason. Even when no tex documents are open, it (version 2.10.8) does *something* very CPU intensive every ~8 seconds. On a desktop computer this wouldn’t be much of a hassle, but on a laptop unnecessary mean wasted energy and less battery life. With TeXstudio on a MacBook Pro it actually means several hours less battery life.

Using the Activity Monitor I found TeXstudio to frequently scan for network interfaces and nearby Wifi networks. That is very odd for a TeX editor and I cannot think of a good reason for it to do so.

TeXstudio is scanning for WIFI networks

TeXstudio is scanning for WIFI networks

Apparently, libqcorewlanbearer.dylib is involved.ย Simple fix: Delete it.

$ rm /Applications/texstudio.app/Contents/PlugIns/bearer/libqcorewlanbearer.dylib

TeXstudio will continue to work just fine but will use way less energy doing so. Why does this matter? Because it is spring and I want to work outside. ๐Ÿ˜€

7 thoughts on “Reducing CPU load and energy consumption of TeXstudio on the Mac

  1. Thank you for such a useful clue. I was about to uninstall TeXstudio.

  2. Thanks, I was thinking my MBP’s battery is dying after a year of usage until I noticed that it only sucked when I was writing my thesis. Universe’s way of telling me to work less ๐Ÿ˜‰

  3. Wow! Great advise! TeXstudio is usable now! ๐Ÿ™‚

    Have you reported this as a bug?

    BR

  4. Pingback: MacBook Pro experiencing ping spikes to local router – Config9.com

  5. Pingback: MacBook Pro experiencing ping spikes to local router (2016) - My Blog

  6. Pingback: network - MacBook Pro experiencing ping spikes to local router - MDS New Live

Leave a Reply

Your email address will not be published. Required fields are marked *