title: NSDictionary writeToFile
body: <p>Is there a size limit to saving dictionaries?</p>
  
  <p>I am attempting to write a rather large dictionary with around 100 keys with nested dictionaries using writeToFile: but it never writes and is always false.</p>
  
  <p>Is this a limitation or am I doing something incorrect,</p>
  
  <p>The code i use is the following.</p>
  
  <pre><code>NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
  NSString *documentsDir = [paths objectAtIndex:0];
  NSString *fullPath = [documentsDir stringByAppendingPathComponent:@"test.plist"];   
  
  [myDict writeToFile: fullPath  atomically:YES];
  </code></pre>