• 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: Memoryleak in SpriteKit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memoryleak in SpriteKit?


  • Subject: Re: Memoryleak in SpriteKit?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 09 Apr 2014 07:58:29 -0700

On Apr 9, 2014, at 3:45 AM, Alexander Reichstadt <email@hidden> wrote:

> This code is bound to a menu item method test. When looking at memory in Xcode I would expect for it before adding any children to be identical to after removing all children. But memory steadily increases.

Try using Instruments, since it has tools for actually measuring and tracking down memory leaks. For quickie checks, the ‘leaks’ tool is useful too.

Frankly, I don’t even know what that memory-usage graph in Xcode’s debugger pane is showing. I’ve found that “memory usage” is a slippery concept in a modern OS, and unless you know exactly what you’re looking at, it’s easy to draw the wrong conclusions. (Obvious example: people looking at VMSIZE and thinking their app is using a gigabyte of RAM.)

—Jens

_______________________________________________

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: Memoryleak in SpriteKit?
      • From: Fritz Anderson <email@hidden>
References: 
 >Memoryleak in SpriteKit? (From: Alexander Reichstadt <email@hidden>)

  • Prev by Date: Re: Excessive open gui graphics files on Mavericks
  • Next by Date: Re: Bindings for dynamically populated menu
  • Previous by thread: Memoryleak in SpriteKit?
  • Next by thread: Re: Memoryleak in SpriteKit?
  • Index(es):
    • Date
    • Thread