IDE 2.x - If your main drive is running out of space...

KurtE

Senior Member+
For awhile now my SSD drive (c:) was close to running out of space (like < 1% free).
Dell tools said it could not do backups...

For a while now I have been moving stuff off of the C drive to the larger hard drive d: but still was not getting very far.

Finally I went to the Arduino created directory Arduino15 which on my Windows machine is at:
Code:
C:\Users\kurte\AppData\Local\Arduino15

And looked at the staging subdirectory and found it had a ton of large files contained within in it.
Searching around I found Arduino threads like:
Where I found that it is safe to delete all of this stuff. I did not totally clear it out, but deleted all of the stuff earlier than 2025, plus some other boards stuff
like ESP32. I could probably delete all of it, but at least now I am out of the RED
1771351106456.png
 
Forgive me if I'm stating the obvious, but have you checked your recycle bin? If you are using Windows Explorer to delete folders on C: after you move them to D:, you may have copies of those folders in the recycle bin (on C:).
 
I have barely used IDE 2.x, but my staging folder has almost 1 GB. If I understand correctly, I can delete all of these files, right?
 
I must have made some good decisions on my last Arduino install---my staging folder is only 321MB. I'm at Arduino 2.3.6. With a Gigabit internet connection, the advantages of staging .zip files are probably minor.
 
It will be a miracle the day the Arduino IDE starts to clean up after itself.
There might actually be a miracle 😆

I asked about this on Arduino forum and turns out there is at least a partial fix for this:

There is an Arduino CLI command: arduino-cli cache clean
 
Back
Top