• 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: What is using up so much memory here?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is using up so much memory here?


  • Subject: Re: What is using up so much memory here?
  • From: James Cicenia <email@hidden>
  • Date: Tue, 10 Mar 2009 18:50:03 -0500

I am just overlaying colored state images over a map of the US.

I don't need performance here, just memory efficiency. I will try imageWithContetsOfFile.

Thanks
James

On Mar 10, 2009, at 6:45 PM, David Duncan wrote:

On Mar 10, 2009, at 4:41 PM, James Cicenia wrote:

Interesting... I didn't know that, but then it begs the question.... what do the cool kids do?
Should I be taking a different approach here? If so, any pointers or doc chapter would be
great.


All depends on what you are trying to accomplish. Typically you avoid loading anything you don't need and release anything when your done with it. And you may want to switch to imageWithContentsOfFile: until you can prove that the caching behavior of imageNamed: is providing you with a performance improvement.
--
David Duncan
Apple DTS Animation and Printing



_______________________________________________

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


  • Follow-Ups:
    • Re: What is using up so much memory here?
      • From: David Duncan <email@hidden>
References: 
 >What is using up so much memory here? (From: James Cicenia <email@hidden>)
 >Re: What is using up so much memory here? (From: David Duncan <email@hidden>)
 >Re: What is using up so much memory here? (From: James Cicenia <email@hidden>)
 >Re: What is using up so much memory here? (From: David Duncan <email@hidden>)

  • Prev by Date: Re: What is using up so much memory here?
  • Next by Date: Re: What is using up so much memory here?
  • Previous by thread: Re: What is using up so much memory here?
  • Next by thread: Re: What is using up so much memory here?
  • Index(es):
    • Date
    • Thread