Re: Disk thrashing when opening a project
Re: Disk thrashing when opening a project
- Subject: Re: Disk thrashing when opening a project
- From: Simon Wilson <email@hidden>
- Date: Wed, 12 Nov 2008 00:39:38 +0100
Hi Chris,
Many thanks for the explanation which confirmed by suspicion that
symbol indexing is the culprit.
The project is cleanly organized (no symlinks, only files referenced
by the compiler and linker are in the project). The only large non-
code directory in the enclosing directory is the help book but that
only contains 60 HTML documents.
The project is fairly large though: 1,200 ObjC++ files, spread across
about 20 sub-projects.
I guess 1-2 minute indexing is par for the course on a project like
this?
Simon
On Nov 11, 2008, at 19:47:38, Chris Espinosa wrote:
On Nov 11, 2008, at 8:19 AM, Simon Wilson wrote:
While I sincerely appreciate you taking the time to respond to my
question in such detail, I'm afraid it wasn't really the kind of
answer I'm looking for.
I don't believe the thrashing is abnormal and, while mildly
inconvenient, certainly doesn't warrant me investing the time into
profiling the issue.
I simply wanted to ask the xcode-users list in the hope that an
Xcode developer might popup up and say "yup, that's symbol indexing
and you can disable it by ...".
I still live in hope that an Apple employee might chime in...
It's most likely to be indexing. Without forensic evidence, we
can't really tell, but indexing is the most disk-intensive
background task done by Xcode. Dependency analysis is second, but
it just stats the files to check their mod dates, while indexing
(obviously) reads the fulltext of files.
As was mentioned, having indexing take a long time and a lot of disk
activity may be a side-effect of poor project configuration:
- Inadvertent or unnecessary inclusion of non-project files in the
project
- Setting the Project Root (Project > Edit Project Settings >
General) to an enclosing folder that encompasses a lot of non-
project files
- Symlinks or other external references in your project files
There is no way to disable project indexing, as dozens of Xcode
features rely upon it.
Chris
_______________________________________________
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