This project has moved and is read-only. For the latest updates, please go here.

Isolated Storage Quota Strategies

Sep 5, 2011 at 3:33 PM

Has anyone implemented any strategies around dealing with running short of Isolated Storage space?

imo it's a bit late if a write fails because the amount of free space is unavailable to the App - you almost want a mechanism whereby free space is monitored, and the user is requested
to increase the quota when free space runs near a certain threshold.

Oct 19, 2011 at 6:06 PM

I'm looking for a similar solution also, did you come up with an acceptable solution to this problem?

Mar 8, 2012 at 1:42 PM


I use the following approach:

Before saving I check the available space in iso. If it's less or equal 1MB. I ask user to use more (I ask him for 50 mb). If he does not allow me to increase the iso storage I warn him that he could not cache things in the app and it will slow down by this decision, so I move the entire database to memory driver and I don't cache in disk anymore until he accepts to give me some free space on disk :)