Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6850803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:10:11+00:00 2026-05-27T01:10:11+00:00

I just recently upgraded my project to iOS 5 with ARC (automatic reference counting)

  • 0

I just recently upgraded my project to iOS 5 with ARC (automatic reference counting) and now Instruments is reporting a memory leak from NSAutoreleasePool after I suspend the app in the background.

I suspect the leak is being caused by Flurry Analytics based on the stack trace with these two API calls:

+[FlurrySession sendSessionsToServerForSessionPause]
+[FlurrySession sendSessionsToServerWithTimeout:useWebView:requestAppCircleAds:requestVideoAds:requestAppSpotAds:sendCurrentSession:]

I’m not making any Flurry API calls on suspend. The only call being made to flurry is

[FlurryAnalytics startSession:<my id>];

when the app first starts.

Reported leak

Leaked Object   #       Address     Size        Responsible     Library Responsible Frame

NSAutoreleasePool,1     0x7693f600  32 Bytes    Foundation      +[NSAutoreleasePool allocWithZone:]

Stack trace

  10 libsystem_c.dylib thread_start
   9 libsystem_c.dylib _pthread_start
   8 Foundation __NSThread__main__
   7 Foundation -[NSThread main]
   6 iSURVEY +[FlurrySession sendSessionsToServerForSessionPause] /Developer/Applications/iPhoneAdAgent_modular/Classes/FlurrySession.m:931
   5 iSURVEY +[FlurrySession sendSessionsToServerWithTimeout:useWebView:requestAppCircleAds:requestVideoAds:requestAppSpotAds:sendCurrentSession:] /Developer/Applications/iPhoneAdAgent_modular/Classes/FlurrySession.m:962
   4 CoreFoundation +[NSObject(NSObject) alloc]
   3 Foundation +[NSAutoreleasePool allocWithZone:]
   2 CoreFoundation +[NSObject(NSObject) allocWithZone:]
   1 libobjc.A.dylib class_createInstance
   0 libsystem_c.dylib calloc

Edit:

I just tried turning off all debug variables like zombies and the memory leak is still exactly the same.

Edit 2:

Okay I’ve confirmed that it definitely is a Flurry issue. After removing the call

[FlurryAnalytics startSession:<my id>];

I no longer get the memory leak.

I’ll file a bug with the Flurry team.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:10:12+00:00Added an answer on May 27, 2026 at 1:10 am

    I see the same 32 byte leak. I was thinking about releasing it that way, and watching for an update. A one time 32 byte leak doesn’t seem like it’s a big problem. I only see it when the App registers with Flurry, not every time the task comes out of the background. I’m using Flurry version 3.0.2 with iOS 5.0 as the base SDK, and a target of iOS 4.1

    Looking at the Flurry docs, it looks like you can set it up to only report on application launch.

    Before your

    [FlurryAnalytics startSession:id];
    

    Add the following two calls:

    [FlurryAnalytics setSessionReportsOnCloseEnabled:NO];
    [FlurryAnalytics setSessionReportsOnPauseEnabled:NO];
    

    The docs say that “OnPause” is off by default, but it can’t hurt to be sure.

    I also filed a bug report with Flurry.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I've just recently upgraded to SQL Server 2008 from 2005 and when I attempt
I just recently upgraded a VS2008/.NET 3.5 SP1 project to VS2010 and .NET 4.
We just recently upgraded from Spring Security version 3.0 to version 3.1. Our old
I just recently upgraded from VS2008 to VS2010. Because I do a lot of
my company has recently upgraded from VS2005 to VS2010. We have a huge project
I have a project using DevExpress 8.3 (2008.3) which I just recently upgraded to
We've recently upgraded from VS2008 -> VS2010 (and hence upgrading from Web Deployment Project
We just recently upgraded from VS2005 to VS2010. I've noticed that unlike VS2005, when
I am using visual studio 2008 on vista business. We just recently upgraded from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.