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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]