cancel
Showing results for 
Search instead for 
Did you mean: 

Why does STM32CubeIDE use Chromium and peg my CPU so high on MacOS?

Antypas.Peter
Senior

I'm running IDE version 1.13.1 on MacOS 11.7.1 on a MBP with a dual core 2.8Ghz i7. Unlike every other IDE / CAD package that I use, STM32CubeIDE pegs my CPU really high and spins up the fans even when doing NOTHING. As in, there is no project open, no editors, no HW configuration, literally NOTHING.

Why?

 

Screen Shot 2023-08-29 at 5.05.10 PM.png

13 REPLIES 13
radoslav
Associate

I experienced similar issues with excessive CPU/GPU usage. The solution from @WojRus worked also in my case.

The CubeIDE is poorly optimized indeed.

diabolo38
Associate II

Win 11 version 1.17 and it's till here 

ide on it"s own is not using much cpu but The  8 chromium does (2% on  16 threads 12th gen i7)

I many time kill this chromium process by hand  and it' seam not to affect any badly the ide ...

b4shful
Associate

I've been noticing this a lot too, The mysterious 8 Chromium instances are (a lot of the time anyways) using more CPU than CubeIDE is!

Darren Legge
Associate II

The same approach works on macos (presumably linux would be similar). Close STM32CubeIDE and...

cd ~/.stm32cubeide/.jxbrowser-7.41.4/
rm -rf *
cd ..
chmod 555 .jxbrowser-7.41.4/

Restart the IDE and enjoy the silence.

If you need anything that jxbrowser does in future then just reset the write permission (chmod 777) on the .jxbbrowser... folder and STM32CubeIDE will put the files back.