Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5020
Leak via malloc
posted

Howdy y'all.

We have evidence to suggest that there's a leak somewhere inside insertItemAtIndex:withSource:. When we repeatedly call this method (a few hundred thousand times) on a chart we will hit memory warnings. It's not immediately obvious because there are no leaking objects. The only thing we see is an accumulation of "persistent" Malloc'd bytes.

App launch:

Then a few minutes... (about 2 updates per second on 8 different series).

Steve said that this should be easy for you to test with your arsenal of test projects. Good luck!

One last thing, a detailed look at one of these 64 byte mallocs leads to a "responsible frame/caller" of "_dispatch continuation alloc_from_heap" (or similar). This yields Google results that look like _dispatch continuation alloc_from_heap, which may or may not be related.

Parents
No Data
Reply
  • 40030
    Offline posted

    Hey Caylan, 

    Thanks for the report. We'll try to create a sample to see if we're able to reproduce, and will keep you posted on whether or not we're successful. 

    -SteveZ

Children
No Data