Xcode 2.5 and the "fork: Resource temporarily unavailable" error message
Xcode 2.5 and the "fork: Resource temporarily unavailable" error message
- Subject: Xcode 2.5 and the "fork: Resource temporarily unavailable" error message
- From: "Andrea \"XFox\" Govoni" <email@hidden>
- Date: Tue, 27 Nov 2007 18:58:57 +0100
I'm playing with Xcode 2.5 and Mac OS X 10.4.11 on a PowerBook G4@867MHz
with 1.12GB of RAM.
I'm trying to build the latest official release of Darwin Streaming
Server [1] that still comes with Jam based build targets.
I noticed that if I try to build when my system is low of RAM and/or the
CPU isn't almost completely idle, the build failes due to "fork:
Resource temporarily unavailable" errors. I never noticed this behaviour
with earlier versions of Xcode.
The exact forms of the errors vary from
"/bin/sh: fork: Resource temporarily unavailable"
to (for example)
"powerpc-apple-darwin8-g++-4.0.1: fork: Resource temporarily unavailable
QTFileLib/QTAtom_stss.cpp:230: fatal error: error writing to -: Broken pipe
compilation terminated."
and sometimes the build fails without even printing any error message.
First I thought that maybe Xcode was trying to start too many parallel
tasks so I tried to set PBXNumberOfParallelBuildSubtasks and
NumberOfLocalBuildSubtasks to, respectively, 0 and 1 (they were both
unset) but it had no effect. When I build I still see many processes
named g++-4.0 popping up in Activity Viewer.app, does this means that
Xcode doesn't respect the user defaults I set?
If someone wants to try to reproduce the problem, DSS 5.5.5 sources are
here [2] and I found that it's easily reproducible when building the
“QTFileExternalLib (Library)” with configuration “Development”.
Any advice (beside buying a new machine!)?
Thanks in advance.
[1] <http://developer.apple.com/opensource/server/streaming/>
[2] <http://tinyurl.com/2yb4b8>
--
Andrea "XFox" Govoni
AIM/iChat/ICQ: email@hidden
Yahoo! ID: xfox82
Skype Name: draykan
PGP
KeyID: 0x212E69C1
Fingerprint: FBE1 CA7D 34BE 4A53 9639 5C36 B7A0 605F 212E 69C1
_______________________________________________
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