Re: size of the Xcode precompiled headers
Re: size of the Xcode precompiled headers
- Subject: Re: size of the Xcode precompiled headers
- From: Thomas Engelmeier <email@hidden>
- Date: Mon, 12 May 2008 20:27:54 +0200
Am 11.05.2008 um 05:10 schrieb Dmitry Markman:
Hi
I accidentally found that Xcode precompiled header data has huge size
on my MacBookPro I found ~16GB of Xcode precompiled data
all precompiled headers could be found in the
/Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders folder
There is a defaults setting defining the upper limit of the PCH cache
- usually at 1 GB. See <http://secrets.textdriven.com/preferences/edit/170
>
As a precompiled header is nothing but a complete memory dump of gcc
after #including everything and it is versioned, the limit might be
per version (2.4, 2.5, 3.0, 3.1) and four times the size if you
migrated your system and also use the 3.1 beta. Otherwise, I'd file an
radar.
My personal opinion is that such an huge diskspace hog shall default
to ~/Library and only per preference setting go to /Library for the
convenience of people with a netboot home directory (and managed
defaults...), but that is another story.
Regards,
Tom_E
_______________________________________________
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