• 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: Xcode performance issues over time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode performance issues over time


  • Subject: Re: Xcode performance issues over time
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 15 Feb 2010 08:50:08 -0800

On Feb 14, 2010, at 11:13 PM, Gideon King wrote:

> I have a performance issue on every build that builds more than 8 files - it says it is compiling file 8 of x files, and then stops there for about a minute, taking massive CPU (basically locks up my machine), and then continues and compiles normally. Is this normal behaviour? I expect it is something to do with getting my 8 cores loaded up and processing the compile.

Usually, any time Xcode bogs down using tons of CPU, it's garbage-collecting. (You can verify this by sampling the app and looking for a background thread with tons of activity in stuff named like "auto_zone_collect".)

I find that after doing a number of builds of a large complex project [e.g. Chromium], Xcode's grown its heap size to such a huge degree, like 1GB, that running the garbage collector over it takes a very long time. Whenever this happens I quit and relaunch to get the heap to shrink back down to something manageable.

I'm a huge fan of garbage collection in theory, but even after literally 40 years of development it still hasn't had all the kinks worked out of it, it seems.

—Jens _______________________________________________
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: 
 >XCode performance issues over time (From: Brian Zwahr <email@hidden>)
 >Re: Xcode performance issues over time (From: Chris Espinosa <email@hidden>)
 >Re: Xcode performance issues over time (From: Brian Zwahr <email@hidden>)
 >Re: Xcode performance issues over time (From: Brian Zwahr <email@hidden>)
 >Re: Xcode performance issues over time (From: Brian Zwahr <email@hidden>)
 >Re: Xcode performance issues over time (From: Jens Alfke <email@hidden>)
 >Re: Xcode performance issues over time (From: Brian Zwahr <email@hidden>)
 >Re: Xcode performance issues over time (From: Brian Zwahr <email@hidden>)
 >Re: Xcode performance issues over time (From: John Engelhart <email@hidden>)
 >Re: Xcode performance issues over time (From: Joar Wingfors <email@hidden>)
 >Re: Xcode performance issues over time (From: John Engelhart <email@hidden>)
 >Re: Xcode performance issues over time (From: Jerry Krinock <email@hidden>)
 >Re: Xcode performance issues over time (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Compiler Error (expected expression before 'NSArray')
  • Next by Date: Re: Rép : XCode, cin and string (C++) => troubles :s
  • Previous by thread: Re: Xcode performance issues over time
  • Next by thread: Re: Xcode performance issues over time
  • Index(es):
    • Date
    • Thread