• 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: size of the Xcode precompiled headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: size of the Xcode precompiled headers


  • Subject: Re: size of the Xcode precompiled headers
  • From: Dmitry Markman <email@hidden>
  • Date: Tue, 13 May 2008 06:13:18 -0400

thanks a lot for the answer
after your email I found other link
http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeUserDefaultRef/UserDefaultRef/chapter_2_section_5.html#/ /apple_ref/doc/uid/TP40005535-CH3-DontLinkElementID_41


On May 12, 2008, at 2:27 PM, Thomas Engelmeier wrote:


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


Dmitry Markman

_______________________________________________
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: 
 >size of the Xcode precompiled headers (From: Dmitry Markman <email@hidden>)
 >Re: size of the Xcode precompiled headers (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: Re: Linking to an object file
  • Next by Date: Xcode 3 svn access with @-symbol in username?
  • Previous by thread: Re: size of the Xcode precompiled headers
  • Next by thread: Publishing Applications
  • Index(es):
    • Date
    • Thread