Hi,

Thanks for all the input.
The problem solved when I did this: [progressIndicator 
setUsesThreadedAnimation:YES]; in the awakeFromNib method.
With out this the progress bar doesn't animate no matter if the sheet is in the 
main thread or secondary or no heavy computations.

I can't have any rough estimates on how much memory i'd need to malloc, some 
times it can be less than 1 MB and grow to 1GB. Also the tree is incremental, 
so can not predict its final size.

Thanks again,
Nick

On 29-Dec-2012, at 12:53 AM, Scott Ribe <[email protected]> wrote:

> On Dec 28, 2012, at 10:40 AM, Nick Rogers wrote:
> 
>> I have a tree in memory (all nodes malloc'ed blocks) and when I start 
>> freeing this large tree, I traverse the tree and free all nodes.
> 
> Are you really only free'ing the malloc'd pointers? Or are you calling some 
> higher-level tree maintenance function which does additional work? Example: 
> calling some node->delete() function which re-balances the tree...
> 
> -- 
> Scott Ribe
> [email protected]
> http://www.elevated-dev.com/
> (303) 722-0567 voice
> 
> 
> 
> 

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to