Re: Memory management problem
Re: Memory management problem
- Subject: Re: Memory management problem
- From: Benjamin Stiglitz <email@hidden>
- Date: Wed, 6 Feb 2008 10:10:10 -0800
Now I realize that even though within the loop I am using a
autorelease pool those temp dictionaries are being retained by the
main one. However the application uses over 300megs of real memory
and is not releasing any of it, even after the process is complete.
I have tried releasing the global dictionary after the final sorting
is complete since there shouldn't be anything retaining it, but this
crashes the application. I have also detached this procedure from
the main thread but when it is finished the memory is still not
reclaimed.... Does any one have any suggestions on what I might be
doing wrong?
What metric are you using for “using memory?” Malloc never returns
memory to the kernel.
-Ben_______________________________________________
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