2025-06-17 11:36 PM
Dear All,
My STM32Cube IDE taking lost of time to compile to code previously it was taking 20sec only but now it taking 10 min and compile 20% code, please suggest what the issue,
CPU - I7
RAM - 16
CPU Utilization - <30%
RAM utilization - 10GB
2025-06-18 5:32 AM - edited 2025-06-18 5:33 AM
What has changed with your computer and/or project?
Ensure all cores are used for compilation.
20 seconds -> 10 minutes is dramatic. Something changed.
If you create a new project and compile it, does it compile quickly?
2025-06-18 5:39 AM
What is previously? What timespan are we talking about?
Because as @TDK pointed out, something needs to have changed fundamentally
How many projects do you have currently in your workspace? Did you add recently many plug-ins?
2025-06-18 5:42 AM
How can ensure all cores are compiling the code,
I created new project by cubeMx and its working fine,
i installed latest cube ide also but also getting same thing
compiler isnot giving any error but working very slow and stuck on 23%
2025-06-18 5:57 AM
The "-j 8" on the right means use 8 cores.
If you create a new project and compile it, does it compile quickly?
2025-06-23 6:26 PM
I encountered this problem some days ago, the compile process would nearly stop at 19%. For my case my final solution was to adjust the parallel build jobs from 12(default) to 4, and the compilation seems back to normal. Hope this would also work for you.