• 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: XCode 2.1 generating a 25 GB .o file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 2.1 generating a 25 GB .o file?


  • Subject: Re: XCode 2.1 generating a 25 GB .o file?
  • From: Rudi Sherry <email@hidden>
  • Date: Wed, 09 Nov 2005 16:38:32 -0800

If you find the process is called 'cc1objplus', then I believe it's choking on certain kinds of syntax errors (usually missing or mismatched end-brackets/braces/parens); it outputs the error string over and over and over again into the build output file (ktrace is invaluable here). I noticed it after it had used up 42GB of disk space in 83-byte chunks, and reduced the problem to a 10-line file that I sent to Apple in a bug I reported about three months ago.

I found that I can tell it happens because the compile doesn't seem to end, so I hit the "End Tasks" button. That *seems* to stop the compile... but it really doesn't, the process is still going. Usually you can tell that the computer is a little sluggish all of a sudden. I use `top -u` to check the tasks, and if cc1objplus is still running I kill it. That has worked for me so far.

Rudi

PS. If you find the process is something else, submit a bug to Apple.

On Nov 9, 2005, at 2:05 PM, Scott Andrew wrote:

I did have "predictive compilation" turned on. i have since turned it off and i haven't seen the file recreated. I was getting recreated every compile. I'll try to nail down the process that is hanging later tonight.

Scott Andrew

On Nov 9, 2005, at 1:42 PM, Jim Ingham wrote:


Do you have "predictive compilation" turned on (it's in the Building Preference Pane)? That could be going crazy. If predictive compilation is not on, then all the build steps should show up in the Detailed Build Log, and you might be able to match up the process that's going bad, and the particular build steps (for instance, ps -auwwx should show you the full command line, and you can match that up.)

In any case, if you can find the process killing which actually removed the file, the result of "ps -auwwx" on that process would be interesting to the build guys here, I am sure.

Jim

On Nov 9, 2005, at 1:32 PM, Spencer Nielsen wrote:



This happens to me about once every long coding session and unfortunately I am only made aware of it when the Finder gives me a message telling me that my drive is full. I havn't done a lot of sleuthing to find the cause of it because it is very hard to reproduce, but in my case it has always been the i686 compiler and assembler set of processes. I only started seeing this problem when I starting compiling my stuff for both PPC and Intel. Also, I am coding in Objective-C exclusively and do not use any C++ features (I even turn them off in the compile options) but I am however using .mm files which are run through the Objective-C++ compiler.

Spencer Nielsen

On Nov 9, 2005, at 12:58 PM, Glen Simmons wrote:



I've seen that and in my case it was a runaway process that was endlessly trying to compile a file. I killed the process (ccsomething) and deleted the .o file.

Glen

On Nov 9, 2005, at 2:37 PM, Scott Andrew wrote:



Ok I am using XCode 2.1 and i have an object file named HDMVLayerNode.o~> its is 25.8 gigs and growing as long as XCode is running has anyone seen this problem? Does it exist in 2.2? I just created this Objective C++. This is the first time I have seen this.

Scott Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


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:
40gmail.com


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:
40apple.com


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:
40adelphia.net


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


_______________________________________________ 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
  • Follow-Ups:
    • Re: XCode 2.1 generating a 25 GB .o file?
      • From: Scott Andrew <email@hidden>
References: 
 >XCode 2.1 generating a 25 GB .o file? (From: Scott Andrew <email@hidden>)
 >Re: XCode 2.1 generating a 25 GB .o file? (From: Glen Simmons <email@hidden>)
 >Re: XCode 2.1 generating a 25 GB .o file? (From: Spencer Nielsen <email@hidden>)
 >Re: XCode 2.1 generating a 25 GB .o file? (From: Jim Ingham <email@hidden>)
 >Re: XCode 2.1 generating a 25 GB .o file? (From: Scott Andrew <email@hidden>)

  • Prev by Date: XCode Applescript debugger not stopping at break points
  • Next by Date: Re: XCode 2.1 generating a 25 GB .o file?
  • Previous by thread: Re: XCode 2.1 generating a 25 GB .o file?
  • Next by thread: Re: XCode 2.1 generating a 25 GB .o file?
  • Index(es):
    • Date
    • Thread