|DLTK makes Eclipse hang [message #1419302]
||Mon, 08 September 2014 11:55
|| saroj padhy
Registered: August 2012
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 (https://wiki.eclipse.org/A_guide_to_building_a_DLTK-based_language_IDE).
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?
Powered by FUDForum
. Page generated in 0.03291 seconds