Skip to main content
MKDas
Associate III
March 30, 2023
Solved

STM32CubeIDE is consuming too much space in C drive

  • March 30, 2023
  • 4 replies
  • 7967 views

I have been using STM32CubeIDE for the last couple of years. Recently after getting a low space warning in C drive found that  STM32CubeIDE is taking over 32GB of space in C drive. There I found that some libraries are there with previous versions. Also their zip formats. My question is, is there any problem if I remove the older versions there? Or is there any way to clean older files that are not necessary?

0693W00000bhD3iQAE.png

This topic has been closed for replies.
Best answer by Peter BENSCH

Especially the temporary folders TMP*.* can be deleted without hesitation. Typically, these are leftovers from previous and aborted installations.

The ZIPs are in fact only necessary for unpacking, once that is done they are actually superfluous. You could, however, keep them on an old external disk, for example, so that you have quick access to them for a later reversion to an older version.

4 replies

KnarfB
Super User
March 30, 2023

STM32CubeMX/IDE have a GUI for safely managing those packages (Manage software installations/embedded packages).

hth

KnarfB

Pavel A.
March 30, 2023

IIRC CubeMX/IDE does not track what versions are used in existing projects by reference.

User should know which packages & versions are still in use.

CARHERO
Associate II
March 30, 2023

You may delete the unnecessary Cube_FW and *.zip.

If there is no Cube_FW when creating the CubeIDE Project, it will check the Repository and download the Cube_FW automatically.

MKDas
MKDasAuthor
Associate III
March 31, 2023

deleting unused folders & RAR saved 12GB for now. which is enough for now.

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
March 30, 2023

Especially the temporary folders TMP*.* can be deleted without hesitation. Typically, these are leftovers from previous and aborted installations.

The ZIPs are in fact only necessary for unpacking, once that is done they are actually superfluous. You could, however, keep them on an old external disk, for example, so that you have quick access to them for a later reversion to an older version.

In order 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.
MKDas
MKDasAuthor
Associate III
March 31, 2023

deleting unused folders & RAR saved 12GB for now. which is enough for now.

MKDas
MKDasAuthor
Associate III
March 31, 2023

As I work with many software and all of them are important. And usually, I uninstall useless or short-time used ones. Anyway, I've removed the RAR files and also the unused libraries that I used for older projects. It did not create any trouble. For testing purposes, I opened one old project and it starts downloading the necessary files. So I think, it will not make any trouble if I remove the unused one. As it downloads automatically all the necessary files so CubeIDE will manage what it needs I think. After removing all those unused libraries, it saved 12GB. Which is enough for now.