I have this recurring problem for a while and I would like to solve it.
I am using several Xbee3 (XB3-24Z8PT) and writing different micropython program for it.
The program spreads over three small files (less than 10Kb each) and I use Pycharm with the xbee plugin to have a fluid workflow.
while I am debugging I will rewrite the same program over and over with minor changes each time. At some point I will get an error in Pycharm :
[ERROR] (Error transferring file 'C:\***\build\xbee_consts.mpy': ENOSPC file system full.)
Every single time the only way to solve this is to open XCTU, go to File system (and here I can see my files are less than 30Kb in total, there is nothing else, but there no free memory), and format.
What do I need to do for this memory problem to not happen again. I am not doing any garbage collection or similar thing (dont know much about it). Is it the problem?