Re: PBXNumberOfParallelBuildSubtasks and Xcode4
Re: PBXNumberOfParallelBuildSubtasks and Xcode4
- Subject: Re: PBXNumberOfParallelBuildSubtasks and Xcode4
- From: Joar Wingfors <email@hidden>
- Date: Tue, 19 Apr 2011 16:00:47 -0700
Hello Serge,
That's 1/3 GB of RAM per logical CPU in your machine (not counting memory used by the system itself, and other running apps). That's typically not enough for running GCC, in particular not if you're compiling C++. So yes, I'd agree with your statement about only having 8GB of RAM!
This is the new preference key for controlling the amount of concurrency:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks
In addition, you could consider switching over to our new LLVM compiler, that besides being better and faster and all around more awesome, also uses less memory compared with GCC.
j o a r
On 19 apr 2011, at 02.57, Serge MONTAIGU wrote:
> Hi everybody
>
> I'm using Xcode 4 and I'm very happy with the new "one window" approach and many other things.
>
> Unfortunately It is very slow to compile with GCC 4.2 because I can not control the number of parallel build subtasks (PBXNumberOfParallelBuildSubtasks in the plist). I have a brand new Mac Pro 5,1, Xcode 4 want to compile 24 files at the same time but my project is very big and I have "only" 8Gb of memory. All these cc1plus running together are exhausting my machine and the build time increase exponentially.
>
> In Xcode 3.x I used to set PBXNumberOfParallelBuildSubtasks to 8 and that was fine but it seems Xcode 4 just ignore this setting in com.apple.dt.Xcode.plist
>
> Does anyone know if there is a replacement key for this ?
>
> Thank you
>
> Serge Montaigu
> IGNEspace _______________________________________________
> 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
_______________________________________________
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