title: Memory Leak when Google Analytics sends a hit
body: <p>I'm trying to use Google Analytics SDK v3.10 for iOS.</p>
  
  <p>I added all dependencies and headers, then in my app delegate, method :</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  </code></pre>
  
  <p>, I added those lines :</p>
  
  <pre><code>[[GAI sharedInstance] setDispatchInterval:20.0];
  [[GAI sharedInstance] trackerWithTrackingId:@"UA-XXXXXXXX-X"];
  [[GAI sharedInstance].logger setLogLevel:kGAILogLevelVerbose];
  </code></pre>
  
  <p>with the proper tracking id.</p>
  
  <p>In my landing view, method viewDidAppear, I added the lines </p>
  
  <pre><code>id&lt;GAITracker&gt; tracker = [[GAI sharedInstance] defaultTracker];
  [tracker set:kGAIScreenName value:@"MyLandingView"];
  [tracker send:[[GAIDictionaryBuilder createAppView] build]];
  </code></pre>
  
  <p>It leads to an horrible memory leak (about +1mb/s) and a freeze with those logs :</p>
  
  <pre><code>Apr 20 08:07:47 iPad-of-Pitt MyAppName[920] &lt;Warning&gt;: void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
  </code></pre>
  
  <p>Is this a known bug ? Any clue on how to avoid that ?</p>
  
  <p>Thanks in advance !</p>
  
  <p>EDIT : duplicated this question in google groups <a href="https://groups.google.com/forum/?fromgroups#!topic/ga-mobile-app-analytics/0goRZOc3vk0" rel="nofollow">https://groups.google.com/forum/?fromgroups#!topic/ga-mobile-app-analytics/0goRZOc3vk0</a></p>
  
  <p>EDIT 2 : also posted the issue here <a href="https://code.google.com/p/analytics-issues/issues/detail?id=617&amp;thanks=617&amp;ts=1429543879" rel="nofollow">https://code.google.com/p/analytics-issues/issues/detail?id=617&amp;thanks=617&amp;ts=1429543879</a></p>