Re: Xcode performance issues over time
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