• 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: How to keep Xcode from putting 500MB in /var/folders?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to keep Xcode from putting 500MB in /var/folders?


  • Subject: Re: How to keep Xcode from putting 500MB in /var/folders?
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 26 Dec 2009 22:01:19 -0600

On Dec 26, 2009, at 8:24 PM, Jens Alfke wrote:

> According to the Finder and OmniDiskSweeper, it is 553MB in size. According to tools like 'ls' and 'file', it's empty; although "ls -ls" says it's occupying about a million 512k blocks:
> 1080232 -rw-r--r--  1 snej  staff     0B Dec 26 17:54 /private/var/folders/kb/kbbrChtOHdOvbbKUWKScvE+-Ios/-Tmp-/wd6atrb9
> I don't know where the discrepancy is coming from — a resource fork? I can't find a shell command that will identify resource forks.

The -@ option to ls will list extended attributes, including resource forks.

As to the nature of the file, lsof will show the file descriptor Xcode is using to access the file.  You can write a simple DTrace command to get stack traces from calls which write to that file, which might provide some clue as to how Xcode is using it.  For example, assuming the fd is 17:

sudo dtrace -n 'pid$target:libSystem*:write*:entry /arg0 == 17/ {ustack();}' -p <pid of Xcode>

Cheers,
Ken

 _______________________________________________
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: 
 >How to keep Xcode from putting 500MB in /var/folders? (From: Jens Alfke <email@hidden>)
 >Re: How to keep Xcode from putting 500MB in /var/folders? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to keep Xcode from putting 500MB in /var/folders?
  • Next by Date: Syntax coloring for Rails
  • Previous by thread: Re: How to keep Xcode from putting 500MB in /var/folders?
  • Next by thread: NSTextField (Label) font?
  • Index(es):
    • Date
    • Thread