• 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: Need help with Instruments 2.0.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with Instruments 2.0.1


  • Subject: Re: Need help with Instruments 2.0.1
  • From: David Duncan <email@hidden>
  • Date: Wed, 6 Jan 2010 09:39:37 -0800

On Jan 5, 2010, at 3:51 PM, Ricky Sharp wrote:

> Now, the run appears to be "holding on" to larger blocks of memory dealing with CoreGraphics (zone_malloc)
>
> For example, hopping between two screens...
>
> Screen 1 is loaded and screen 2 is then loaded (separate nib).  Three images are loaded and displayed on screen 2.  But, going back to screen 1, not all these resources are being collected.  That does make some sense as I believe the iPhone OS will attempt to cache images that you've previously loaded.  But, I've usually seen the OS begin to purge said cache when the overall usage hit a certain watermark (4 MB?) Perhaps that watermark has been set higher?


This seems a side issue to the rest of the thread, but the likely explanation for this is that images from an xib are loaded with +imageNamed:, which will cause the image to be decompressed (thus creating an allocation in the CGImage or CoreAnimation zones). When a memory warning arrives, the image cache is purged of unused images.
--
David Duncan
Apple DTS Animation and Printing

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Need help with Instruments 2.0.1 (From: Ricky Sharp <email@hidden>)
 >Re: Need help with Instruments 2.0.1 (From: Ricky Sharp <email@hidden>)

  • Prev by Date: jam is deprecated
  • Next by Date: Re: No frameworks for iPhone-xCode?
  • Previous by thread: Re: [SOLVED] Need help with Instruments 2.0.1
  • Next by thread: Can no longer debug on one device ("The program being debugged is not being run")
  • Index(es):
    • Date
    • Thread