2025-12-31 11:13 AM
STM32CubeIDE is creating a new folder inside ".stm32cubeide\.jxbrowser-7.41.4" everytime STM32CubeIDE launches.
It would be nice if the application cleaned up its junk, at least deleting old profile subfolders, as each one eats up 75MB.
I just manually deleted over 75 of them dating back to October.
Solved! Go to Solution.
2026-01-06 12:43 AM
Hello @Bags ,
Let me thank you for posting.
The same issue was reported through this ST Post .
In fact, if users save their ST login information on STM32CubeMX standalone or on STM32CubeIDE, folders into Profile are not being deleted after closing.
I recommend that you work with the latest release
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-01-01 6:20 AM
Got bored so to start off 2026 so I wrote this bash script to clean out all the STM32CubeIDE profile junk except for the latest subfolder.
(The outer "if" is optional; its just there as a seperator in my big ubuntu clean up script).
if [ -v DoSTM32CubeIdeHistory ]; then
STM32Folder=/home/main/.stm32cubeide/.jxbrowser-7.41.4
if [ -d "$STM32Folder" ]; then
TMPFILE=$(mktemp)
ls -t $STM32Folder/Profile >$TMPFILE
# if more than 1 subfolder was found
if [ `cat $TMPFILE | wc -l` -gt "1" ]; then
echo "STM32CubeIde Profile multiple folders exist"
# The profile subfolder we want to keep is the newest one (1st line of $TMPFILE)
KEEPFOLDER=$(cat $TMPFILE | head -n 1)
# easiest way to get rid of the rest is to rename the Profile folder ProfileOLD,
# make a new Profile folder and move into it the subfolder we want to keep from ProfileOLD.
# then delete the ProfileOLD folder.
mv $STM32Folder/Profile $STM32Folder/ProfileOLD
mkdir $STM32Folder/Profile
mv $STM32Folder/ProfileOLD/$KEEPFOLDER $STM32Folder/Profile
rm -rf $STM32Folder/ProfileOLD
unset KEEPFOLDER
echo "STM32CubeIde Profiles cleaned"
else
echo "No STM32CubeIde Profile junk found"
fi
rm $TMPFILE
unset TMPFILE
fi
unset STM32Folder
fiI
2026-01-05 7:58 AM
Not just a Linux issue. I just checked my Windows PC (Win11 ver 24H2) with CubeIDE 1.18.1 (the latest version I can install due to IT restrictions). There are temp directories collecting in the C:\Users\username\.stm32cudeide\.jxbrowser-7.41.4\Profile directory, each around 80MB as @Bags found. It looks like one for each time I start the IDE.
2026-01-06 12:43 AM
Hello @Bags ,
Let me thank you for posting.
The same issue was reported through this ST Post .
In fact, if users save their ST login information on STM32CubeMX standalone or on STM32CubeIDE, folders into Profile are not being deleted after closing.
I recommend that you work with the latest release
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.