• 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: Memory management problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Memory management problem (From: Development <email@hidden>)

  • Prev by Date: PubSub, enclosures and "Couldn't find PSFeed of PSEntry"
  • Next by Date: [SOLVED]: CoreData.. Relationship Not Persisting
  • Previous by thread: Re: Memory management problem
  • Next by thread: Trouble loading bundles at runtime
  • Index(es):
    • Date
    • Thread