title: Memory leak iPhone and UIPageViewController
body: <p>I have a problem with big memory leaks when I use UIPageViewController. I have a view and I scroll it. I see that memory grows very fast.</p>
  
  <p>I think that is the problem:</p>
  
  <pre><code>- (ViewControllerEvent *)viewControllerAtIndex:(NSUInteger)index {
  
      ViewControllerEvent *childViewController = [[UIStoryboard storyboardWithName:[self isIPad]?@"Main_iPad":@"Main_iPhone" bundle:nil] instantiateViewControllerWithIdentifier:@"ViewControllerEvent2"];
  
      childViewController.index = index;
      childViewController.event = [self.events objectAtIndex:index];
      return childViewController;
  
  }
  </code></pre>
  
  <p>My class:</p>
  
  <pre><code>@interface ViewControllerEvent : UIViewController
  
  @property (assign, nonatomic) NSDictionary *event;
  @property (assign, nonatomic) NSInteger index;
  
  @property (weak, nonatomic) IBOutlet UIImageView *header;
  @property (weak, nonatomic) IBOutlet UIScrollView *_scrollViewDesc;
  
  @property (retain, nonatomic) IBOutlet UITextView *descLabel;
  @property (retain, nonatomic) IBOutlet UIView *whiteBackground;
  @property (weak, nonatomic) IBOutlet UIImageView *bootomMapImage;
  
  @end
  </code></pre>
  
  <p>I use about 100 views in my pager.</p>