I do the following rough calculation:
The size of my file is less than 512 bytes.
Flashdisk size is 1GB. All the flashdisk is used to store just one file (file size is less than 512 bytes)
Flash can be erased in 512Byte blocks.
Each Flash block can be erased 10K times.
Windows is managing corrupted blocks.
Size of Flashdisk 1GB: 1.000.000 Kilobytes
Amount of 512Byte Blocks in Flashdisk: 2.000.000 Blocks
Each Block can be erased 10.000 Times: 20.000.000.000 Erase cycles
So in this Theory the file could be written 2,0e+10 times.
What do you think about this theory?