• 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: Memory usage: Xcode vs. Instruments, who is right?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory usage: Xcode vs. Instruments, who is right?


  • Subject: Re: Memory usage: Xcode vs. Instruments, who is right?
  • From: Scott Ribe <email@hidden>
  • Date: Sat, 07 Dec 2013 08:35:15 -0700

On Dec 7, 2013, at 8:05 AM, Robert Martin <email@hidden> wrote:

> Thanks Scott, You were absolutely right - I had Zombies enabled. After I switched them off, the Xcode memory footprint stopped growing, and jives with what I see in ‘top’ and ActivityMonitor. To be honest, I never knew about this side effect!

Yeah, it seems innocent enough ;-) But, just for one example, if there's a timer periodically firing, and it allocates and frees anything, then there you are: constantly increasing memory usage, even when idle.

As a side note: this is one of the best things about 64-bit for developers. In 32-bit, if you have an application that is data-intensive, and allocates and frees a lot of small objects, you actually can't fully test that you're not accessing blocks after they're freed, because tracking "freed" blocks and monitoring for access will exhaust your address space. Speaking from personal experience...

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





 _______________________________________________
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: 
 >Memory usage: Xcode vs. Instruments, who is right? (From: Markus Spoettl <email@hidden>)
 >Re: Memory usage: Xcode vs. Instruments, who is right? (From: Han Ming Ong <email@hidden>)
 >Re: Memory usage: Xcode vs. Instruments, who is right? (From: Markus Spoettl <email@hidden>)
 >Re: Memory usage: Xcode vs. Instruments, who is right? (From: Robert Martin <email@hidden>)
 >Re: Memory usage: Xcode vs. Instruments, who is right? (From: Scott Ribe <email@hidden>)
 >Re: Memory usage: Xcode vs. Instruments, who is right? (From: Robert Martin <email@hidden>)

  • Prev by Date: Re: Memory usage: Xcode vs. Instruments, who is right?
  • Next by Date: Re: Memory usage: Xcode vs. Instruments, who is right?
  • Previous by thread: Re: Memory usage: Xcode vs. Instruments, who is right?
  • Next by thread: Re: Memory usage: Xcode vs. Instruments, who is right?
  • Index(es):
    • Date
    • Thread