title: wp8 PeriodicTask and persisted storage
body: <p>I have a PeriodicTask that updates a tile for my phone app and saves the information to persisted storage.</p>
  
  <p>This works fine until the list gets to around a size of 11 or 12. </p>
  
  <p>The objects that I save is a poco object with about 5 members.
  I basiclly get data, save data and create tile (not shown).</p>
  
  <p>so </p>
  
  <pre><code>//get data
  var newData = GetPocoFromWeb();
  base.Add(newData); 
  </code></pre>
  
  <p>the base class</p>
  
  <pre><code>     public abstract class DataFetcher&lt;T&gt; where T : IDataCarrier, new()
          {
              protected readonly IPersist&lt;List&lt;T&gt;&gt; Persist;
              protected DataFetcher(IPersist&lt;List&lt;T&gt;&gt; persist)
              {
                  Persist = persist;
              }
  
              protected void Add(T item)
              {
                  var items = Persist.Load();
                  items.Add(item);
                  Persist.Save(items);
              }
          }
  </code></pre>
  
  <p>The persist class</p>
  
  <pre><code>public class Persist&lt;T&gt; : IPersist&lt;T&gt;
      {
          private readonly string _identifier;
  
          public Persist(string identifier)
          {
              _identifier = identifier;
          }
  
          public virtual T Load()
          {
              if (IsolatedStorageSettings.ApplicationSettings.Contains(_identifier))
              {
                  return (T)IsolatedStorageSettings.ApplicationSettings[_identifier];
              }
  
              return default(T);
          }
  
          public virtual void Save(T item)
          {
              IsolatedStorageSettings.ApplicationSettings[_identifier] = item;
              IsolatedStorageSettings.ApplicationSettings.Save();
          }  
  
      }
  </code></pre>
  
  <p>Am I perhaps using wrong storage? 
  11 items in a list isn't really that many.</p>
  
  <p>Update:
  When I load the list and add to it using the application (not through the periodicTask) i can easily save several hundred items. </p>
  
  <p>I don't get any error when running in emulator, it just works till the list has around 11 items and then stops working.</p>