• 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: Modal loop memory leak on 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modal loop memory leak on 10.6


  • Subject: Re: Modal loop memory leak on 10.6
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 20 Dec 2010 10:07:39 -0600

On 20 Dec 2010, at 4:04 AM, Jo Meder wrote:

> It looks like it's something to do with updating windows. It just keeps allocating these objects until after a fairly short time it crashes when it runs out of address space. It's growing in 20 MB steps as you watch it.
>
> I have a smaller testbed app for testing my GUI framework and a modal dialog shown in the same way doesn't show the same memory leak that doing it in the main app does, so it could well be something to do with my code. However has any seen this sort of behaviour before and have any pointers as to what might be going awry? I'm out of ideas at the moment.

We don't have your code (and there may be a lot of it before we can find the bug), so I'm just going on brute instinct…

Are you doing anything other than strict, narrow, swear-on-your-mother's-life-it's-only, drawing in drawRect:? Are you changing model state? Calling back to a controller action? Are you trying to trigger redraws?

	— F

_______________________________________________

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

  • Follow-Ups:
    • Re: Modal loop memory leak on 10.6
      • From: Jo Meder <email@hidden>
References: 
 >Modal loop memory leak on 10.6 (From: Jo Meder <email@hidden>)

  • Prev by Date: Re: access multiple NSTextFields as an array?
  • Next by Date: Re: access multiple NSTextFields as an array?
  • Previous by thread: Modal loop memory leak on 10.6
  • Next by thread: Re: Modal loop memory leak on 10.6
  • Index(es):
    • Date
    • Thread