• 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: David Duncan <email@hidden>
  • Date: Tue, 10 Mar 2009 17:00:34 -0700

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

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.


And just to be clear, imageWithContentsOfFile: vs imageNamed: won't save you any memory per image, it only prevents the image from being put into the image cache, which may help your performance in other ways.

Dave Camp's suggestions are probably a good starting point. Only load images you need to display, and if they don't need to be as large as they are, shrink them (when creating the content, not after loading them).
--
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


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>)
 >Re: What is using up so much memory here? (From: James Cicenia <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