Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » C/C++ Indexer
C/C++ Indexer [message #160761] Tue, 20 December 2005 13:22 Go to next message
Eclipse UserFriend
Originally posted by: dan.mcleran.seagate.com

Why is the C/C++ Indexer so dang slow? Every time I change my code, it
start running and slows everything down dramtically, even editing. It
sometimes even results in an out of memory condition. I'm gonna try giving
Eclipse more memory on startup and see if that works. Has anyone else seen
this?

BTW, I'm running Eclipse 3.1.1 on XP Pro with Cygwin and GCC 3.4.4.
Re: C/C++ Indexer [message #160784 is a reply to message #160761] Tue, 20 December 2005 16:55 Go to previous messageGo to next message
Eclipse UserFriend
I've seen the same behavior. I am in the habit of turning OFF indexing
for ALL my projects. Perhaps I'll give it a try when my machine is
upgraded, but that statement in itself is a strike against the indexer.
For now me and my little PIII-600 are just fine without that CPU-hogging
indexer.

Frankly I'm not sure what indexing is good for. We are warned that the
C++ search capabilities won't work. Well, I've never understood those
capabilities, and the file searching (which works when you don't use the
indexer) is sufficient for my needs. I still get outlines, too.

Can somebody who uses the indexer explain what its good for? It must be
there for a reason.....

Dan

Dan McLeran wrote:
> Why is the C/C++ Indexer so dang slow? Every time I change my code, it
> start running and slows everything down dramtically, even editing. It
> sometimes even results in an out of memory condition. I'm gonna try
> giving Eclipse more memory on startup and see if that works. Has anyone
> else seen this?
>
> BTW, I'm running Eclipse 3.1.1 on XP Pro with Cygwin and GCC 3.4.4.
>
Re: C/C++ Indexer [message #160792 is a reply to message #160761] Tue, 20 December 2005 16:58 Go to previous messageGo to next message
Eclipse UserFriend
>>>>> "Dan" == Dan McLeran <dan.mcleran@seagate.com> writes:

Dan> Why is the C/C++ Indexer so dang slow? Every time I change my code, it
Dan> start running and slows everything down dramtically, even editing. It
Dan> sometimes even results in an out of memory condition. I'm gonna try
Dan> giving Eclipse more memory on startup and see if that works. Has
Dan> anyone else seen this?

I don't know why it is slow, but, yeah, this is well known.

My understanding is that this is being addressed by the new PDOM code,
which tries to persist the index better and (I think) reduce the
amount of indexing done by sharing header file indexes.

Tom
Re: C/C++ Indexer [message #160800 is a reply to message #160784] Tue, 20 December 2005 16:58 Go to previous message
Eclipse UserFriend
>>>>> "Daniel" == Daniel Sperka <djsperka@ucdavis.edu> writes:

Daniel> Can somebody who uses the indexer explain what its good for? It must
Daniel> be there for a reason.....

It makes things like 'jump to declaration' work. Also I believe it is
used for refactoring.

Tom
Previous Topic:CDT folding
Next Topic:mixed C and C++ projects compile
Goto Forum:
  


Current Time: Thu May 08 00:19:24 EDT 2025

Powered by FUDForum. Page generated in 0.11873 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top