STM32CubeIDE 1.15.1 extremly slow, 100% CPU usage, then unlock at once (for new empty project)
Hello,
I'm using a newly installed STM32CubeIDE on GNU/Linux (Debian/sid, from the .deb provided by ST), without any modification.
I create a new STM32 project in an empty workspace.
Project creation : Very slow, then unlock
To create this new project it takes 16 minutes. During this time, the UI is stuck in the dialog "Perform Project Creation. Please Wait For Completion ...", and one of the Eclipse processes has the CPU at 100%, and memory close to 2GB (I extended the default max to -Xmx2048m in stm32cubeide.ini), then after ~16 minutes, some things unlock, and the rest of the project creation is completed at expected speed.
Build : Very slow, then unlock
Then to build that empty project, it takes 4 minutes : Eclipse seems to hang just after calling make, but before make does anything (I added the --trace option to make to check its progress, and it has not yet reached its first step). Then, again, at once something unlocks, and the the build actually take place in the expected ~300 ms for it.
I didn't find any clue in .metadata/.log or .ide (this one mentions:
"[INFO] ProjectBuilder:5002 - Time for Generating toolchain IDE Files: 1049720mS.")
It feels like something not directly related to the project creation or build is stalling it, up to a timeout or something, and then the IDE takes back its normal course...
Before this problem happened, I had a normally functioning install based on the same version of STM32CubeIDE. I may have done a routine update of my system (apt upgrade) between the working and not so working states, but I'm not sure of the timing of this. (And anyway STM32CubeIDE seems quite independent of the system to me, what could be linked?)
What causes this problem?
What could I do to get more information on this?
Thank you!
PA
