Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » DLTK makes Eclipse hang(When running DLTK index it hangs the Eclipse environment)
DLTK makes Eclipse hang [message #1419302] Mon, 08 September 2014 11:55 Go to next message
saroj padhy is currently offline saroj padhyFriend
Messages: 8
Registered: August 2012
Junior Member

Used DLTK for a custom language. There's a performance issue.

DLTK index takes a lot of time to index. When a project first loaded it does indexing for an hour (30,000 source files). And after its done with indexing, When I do a Ctrl_Click on a variable type, it starts indexing again and hangs the Eclipse for another half an hour.

The second indexing is annoying, as already files are indexed, then why it starts indexing again on a Ctrl_Click action? Can anyone have any suggestion what could be wrong in the code.

I followed steps mentioned in wiki page (

I found in the DEBUG log that, On Ctrl_Click action it starts a thread "DLTK indexing" and then goes for sleep.

16:44:43.245-[Thread[DLTK indexing,6,main]]Scheduling job: DLTK indexing in progress(130)
16:44:43.245-[Thread[Worker-0,5,main]]Starting job: DLTK indexing in progress(130)
16:44:43.264-[Thread[Worker-3,5,main]]worker sleeping for: 26362ms

Is there any way possible to start "DLTK indexing" thread, while starting Eclipse itself?

Re: DLTK makes Eclipse hang [message #1429347 is a reply to message #1419302] Tue, 23 September 2014 05:47 Go to previous message
saroj padhy is currently offline saroj padhyFriend
Messages: 8
Registered: August 2012
Junior Member
I analysed DLTK code and found that in (, run() method, it checks for changes in the method checkChanges() and returns the list of files which are having changes.

In my case, when I load project for the first time it does an indexing for 45 mins approx. where all files are indexed. (approx.20000 files). Then when I restart the eclipse again or I do a Ctrl+Click on a variable, it checks all files are changed and does a re-indexing for all 20000 files. It hangs the eclipse and it doesn't respond for next 30 mins until it finishes re-indexing.

Can someone clarify why checkChanges() method returns all files for re-indexing?

Thank you,
Previous Topic:XQuery and DLTK
Next Topic:Selfmade TCL Interpreter
Goto Forum:

Current Time: Wed Feb 21 09:58:50 GMT 2024

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

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

Back to the top