TWTweetCompose-/MFMailComposeViewController leaking under ARC!?!

  • Dear list,

    I see both of the above mentioned ViewControllers leaking memory when instrumenting on an iOS 5 device. When seeing memory leaks in Apples frameworks my natural reaction is to think its something wrong with my code especially as I've just switch to ARC.
    However I'm a bit puzzled in this case. I tried Apples sample code MailCompose and Tweeting  (also compiled with ARC) and I see the exact same leaks.
    Has anybody else experienced this problem and maybe knows a solution?

    Thanks
    Tino
  • I had the same problem and submitted a support request.  They responded that I should submit a bug report, so it apparently is a problem with their code. I would suggest submitting a bug report.
    Stephen
    On Jan 5, 2012, at 11:22 AM, Tino Rachui wrote:

    > Dear list,
    >
    > I see both of the above mentioned ViewControllers leaking memory when instrumenting on an iOS 5 device. When seeing memory leaks in Apples frameworks my natural reaction is to think its something wrong with my code especially as I've just switch to ARC.
    > However I'm a bit puzzled in this case. I tried Apples sample code MailCompose and Tweeting  (also compiled with ARC) and I see the exact same leaks.
    > Has anybody else experienced this problem and maybe knows a solution?
    >
    > Thanks
    > Tino
    >
  • On 5 Jan 2012, at 10:22 AM, Tino Rachui wrote:

    > I see both of the above mentioned ViewControllers leaking memory when instrumenting on an iOS 5 device. When seeing memory leaks in Apples frameworks my natural reaction is to think its something wrong with my code especially as I've just switch to ARC.
    > However I'm a bit puzzled in this case. I tried Apples sample code MailCompose and Tweeting  (also compiled with ARC) and I see the exact same leaks.
    > Has anybody else experienced this problem and maybe knows a solution?

    Read <http://www.friday.com/bbum/2010/10/17/when-is-a-leak-not-a-leak-using-heaps
    hot-analysis-to-find-undesirable-memory-growth/
    >, and see if you can do something like showing and closing the controllers repeatedly, taking a heapshot after each close. If the heapshot analysis shows no growth, you've discovered a false positive in the Leaks instrument.

    — F
  • I think it's known issue.

    Sent from my iPhone

    On Jan 5, 2012, at 11:22 AM, Tino Rachui <tino.rachui...> wrote:

    > Dear list,
    >
    > I see both of the above mentioned ViewControllers leaking memory when instrumenting on an iOS 5 device. When seeing memory leaks in Apples frameworks my natural reaction is to think its something wrong with my code especially as I've just switch to ARC.
    > However I'm a bit puzzled in this case. I tried Apples sample code MailCompose and Tweeting  (also compiled with ARC) and I see the exact same leaks.
    > Has anybody else experienced this problem and maybe knows a solution?
    >
    > Thanks
    > Tino
  • Thanks. I've submitted two bugs for the problems (10653409, 10633310).
    Regards
    Tino

    Am 05.01.2012 um 17:41 schrieb Stephen Cowart:

    >
    > I had the same problem and submitted a support request.  They responded that I should submit a bug report, so it apparently is a problem with their code. I would suggest submitting a bug report.
    > Stephen
    > On Jan 5, 2012, at 11:22 AM, Tino Rachui wrote:
    >
    >> Dear list,
    >>
    >> I see both of the above mentioned ViewControllers leaking memory when instrumenting on an iOS 5 device. When seeing memory leaks in Apples frameworks my natural reaction is to think its something wrong with my code especially as I've just switch to ARC.
    >> However I'm a bit puzzled in this case. I tried Apples sample code MailCompose and Tweeting  (also compiled with ARC) and I see the exact same leaks.
    >> Has anybody else experienced this problem and maybe knows a solution?
    >>
    >> Thanks
    >> Tino
    >>
    >
previous month january 2012 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today