Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Huge eclipse index,
Huge eclipse index, [message #724458] Mon, 12 September 2011 12:05 Go to next message
dominik is currently offline dominik
Messages: 122
Registered: July 2009
Senior Member
hello

My Eclipse died, it was loading cpu to 100% all the time so I updated to latest
pdt version from sourcefourge.jp, at first I was amazed with speed, I found out
that version very fast! There were no lags as usual with some tasks.
After rebuild I noticed that I don't have much space left on drive. Eclipse
workspace is on C:, projects are on D:, Usually there was about half of 140GB C:
free, and now there is only 6GB free space. I made investigation and that leed
me to ...workspace...metadata\.plugins\org.eclipse.dltk.core.index.sql.h2 which
is 60GB file.
Now I wonder if:
+ it's so huge because of dying Eclipse, maybe it enlarge this file because of
some error or so? Can I just delete that and rebuild?
+ or maybe that file is so big because of new, updated Eclipse version and that
is correct? the bigger index/cache the more speed?

60GB is not that much when everybody have TB drives, but this can be a problem
when I'll move that version to my laptop, there is much smaller SSD drive.

/dmc
Re: Huge eclipse index, [message #724720 is a reply to message #724458] Tue, 13 September 2011 00:35 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 348
Registered: July 2009
Location: Japan
Senior Member
@see
http://www.nwiresoftware.com/blogs/nwire/2010/09/five-tips-speeding-eclipse-pdt-and-nwire
Five tips for speeding up Eclipse PDT and nWire
4. Delete the database if your experience problems

Fully rebuilding DB (DLTK Indexing) may take some time, it depends on how many files there are in your workspace(and buildpath).
Re: Huge eclipse index, [message #724887 is a reply to message #724720] Tue, 13 September 2011 12:17 Go to previous message
dominik is currently offline dominik
Messages: 122
Registered: July 2009
Senior Member
On 2011-09-13 02:35, Toshihiro Izumi wrote:
> @see
> http://www.nwiresoftware.com/blogs/nwire/2010/09/five-tips-speeding-eclipse-pdt-and-nwire

Ok, I deleted all indexes there, all files were about 63GB. After rebuild
Eclipse created files with ~180MB. That is much less than original. I think that
some problem occured there and old DB contained some trash.


> Five tips for speeding up Eclipse PDT and nWire
> 4. Delete the database if your experience problems

There was no problem with speed or working with Eclipse, I was just suprised
that its so huge file just for index. On the other hand it's file from about two
years of work.


> Fully rebuilding DB (DLTK Indexing) may take some time, it depends on how many
> files there are in your workspace(and buildpath).

Yes, I know, I rebuilt everything and now it's much smaller file. +60GB of index
is bit too much :)

thanks for reply :)
Previous Topic:[XDebug] <terminated, exit value: 0>C:\xampp\php\php.exe
Next Topic:PDT 3.0.0 Sytax error highlighting in Eclipse Indigo doesnt work
Goto Forum:
  


Current Time: Wed Oct 01 06:04:26 GMT 2014

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

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