• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Memory not being released in a timely manner
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory not being released in a timely manner


  • Subject: Re: Memory not being released in a timely manner
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 10 Jun 2013 12:02:35 -0500

On Jun 10, 2013, at 10:23 AM, Jonathan Taylor wrote:

> Thanks for your comments Ken.

You're welcome.

> It was really good to learn about how to use heapshots effectively, that's definitely something I'm going to use again in future. In this case it did provide ~some~ more information on what is going on.
>
> Just to be clear, the problem is now solved by wrapping the correct bit of code in an explicit autorelease pool, but I'm still very interested in understanding what's going on and why Allocations is not reporting large chunks of memory - I still maintain that this is not happening. If I understood your reply correctly, you're saying this isn't what you would expect.

> However, if I understand you correctly, you are convinced that the (large) backing buffer for the bitmap data should be being reported by Allocations.

No, you've misunderstood.  I was suggesting that there were large allocations that don't show up as objects.  My theory was that they were not allocated via malloc but by something like vm_allocate(), which the Allocations instrument doesn't track.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Memory not being released in a timely manner (From: Jonathan Taylor <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Jeff Johnson <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Jens Alfke <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Jonathan Taylor <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Greg Parker <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Jonathan Taylor <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Fritz Anderson <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Jonathan Taylor <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Ken Thomases <email@hidden>)
 >Re: Memory not being released in a timely manner (From: Jonathan Taylor <email@hidden>)

  • Prev by Date: Re: Search field in menu, like Help menu has
  • Next by Date: Re: Memory not being released in a timely manner
  • Previous by thread: Re: Memory not being released in a timely manner
  • Next by thread: Re: Memory not being released in a timely manner
  • Index(es):
    • Date
    • Thread