Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hard calculation crashes after 60Minutes



On Aug 31, 2008, at 8:22 AM, Caleb Strockbine wrote:
Did you set a breakpoint in malloc_error_break? If yes, what did you find? If no, doesn't that seem like a good place to start?

Probably not. If it is crashing after 60 minutes, it is quite a bit more likely that the problem is in all of the allocations that aren't being freed in the other 59.99 minutes of the runtime...


Assuming this is an Objective-C application, make sure that you are either not creating any autoreleased objects during the calculation or that you are periodically cycling an autorelease pool on the calculation thread. If you are doing that, then this sounds like a straightforward leak.

b.bum

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Hard calculation crashes after 60Minutes (From: Caleb Strockbine <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.