• 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: Image scaling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image scaling


  • Subject: Re: Image scaling
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 04 Jan 2008 17:34:10 -0700
  • Thread-topic: Image scaling

And I forgot the most important point. I believe that NS image classes do
some caching of images for performance, behind your back, out of your
control. It's possible that accounts for the perceived leak that you saw,
and that if you use your initial method to process a large number of images,
the cache will get flushed before the "leak" grows too large.

Of course it's also possible there's a bug: in your code with
retain/release, or no autorelease pool in a thread; or less likely in Cocoa
functions.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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: 
 >Image scaling (From: Adam Knight <email@hidden>)

  • Prev by Date: Re: Open record in Address Book
  • Next by Date: Re: Sending an event from another thread
  • Previous by thread: Re: Image scaling
  • Next by thread: Re: Image scaling
  • Index(es):
    • Date
    • Thread