title: Huge memory footprint with ARC
body: <p>App I'm working on uses ARC. I wanted it to process large files, so instead of loading files as a whole, I'm loading chunks of data using NSFileHandle readDataOfLength method. It's happening inside a loop which repeats until the whole file is processed:</p>
  
  <pre><code>- (NSString*)doStuff { // called with NSInvocationOperation
  
      // now we open the file itself
  
      NSFileHandle *fileHandle =
      [NSFileHandle fileHandleForReadingFromURL:self.path
                                          error:nil];
  
      ...
  
      BOOL done = NO;
      while(!done) {
  
          NSData *fileData = [fileHandle readDataOfLength: CHUNK_SIZE];
  
          ...
  
          if ( [fileData length] == 0 ) done = YES;
  
          ...
  
      }
  
      ...
  
  }
  </code></pre>
  
  <p>According to profiler, there are no memory leaks; however, my app eats a LOT of memory while it processes the file. My guess — autorelease comes only after I process the file. Can I fix it without switching to manual memory management?</p>