You are reading a single comment by @HughB and its replies. Click here to read the full conversation.
  • @Gordon I have to be honest I have only ever had compact work for me once when I had little churn on the storage. I reckon by the time you have gone through 50 cycles of write and app file/delete an app file- the storage is in a state to fail the compacting process. You would need to have a list of the files in storage before compact runs and then also check immediately afterwards as it is not always obvious that you have lost data or apps. You just see apps missing from the launcher as if they had been deleted.

    Is it worth someone developing a storage fragmenter app, ie dilerberately simulate writing app files of random sizes (from min to max app size) to the storage then delete them, then repeat. Then run compact(). IE a stress test for the storage code and the compact code.

About

Avatar for HughB @HughB started