• 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: NSImageView and releasing it's images...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView and releasing it's images...


  • Subject: Re: NSImageView and releasing it's images...
  • From: Jean-Nicolas Jolivet <email@hidden>
  • Date: Thu, 20 Nov 2008 16:43:03 -0500

Well, I posted my other msg before I saw your reply... but I guess you're right, it would explain the unreliable results I am getting... I'll trust Instrument on that one! :)

From what I can see... it seems like OS X (or BSD or whatever manages that) will use a lot of memory if it has a lot of memory available (I have 4gb)... and use less if it has less... I might be wrong about that but it seems to be working that way from what I can tell... (which is a bit different than what I'm used to on Windows using Task Manager)... It seems like linux behaves like that too...and it would also explain why Activity/Top etc.. aren't really "reliable" ways of determining an App's memory usage... (i.e. it might use more memory if you have more available)... am I right to think that?...


On 20-Nov-08, at 4:35 PM, Nick Zitzmann wrote:


On Nov 20, 2008, at 2:10 PM, Jean-Nicolas Jolivet wrote:

However it seems like something is not getting released properly... I'm looking at Activity Monitor and the memory usage is climbing fast each time I click the preview button... (like 2-3mb each time)...

Is there a better way to do it?


Do not pay attention to Top or Activity Monitor when it comes to leak hunting. They can be misleading, because RAM may not be freed immediately for performance reasons. Use Instruments or MallocDebug instead.

Nick Zitzmann
<http://www.chronosnet.com/>


Jean-Nicolas Jolivet email@hidden http://www.silverscripting.com

_______________________________________________

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: NSImageView and releasing it's images...
      • From: Nick Zitzmann <email@hidden>
References: 
 >NSImageView and releasing it's images... (From: Jean-Nicolas Jolivet <email@hidden>)
 >Re: NSImageView and releasing it's images... (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: propblems w/ outline view delegate and notifications
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 1990
  • Previous by thread: Re: NSImageView and releasing it's images...
  • Next by thread: Re: NSImageView and releasing it's images...
  • Index(es):
    • Date
    • Thread