KDevelop4 Backgound parser

LukasT.dev@gmail.com lukast.dev at gmail.com
Sat Jul 11 16:01:38 BST 2009


I'm Krita developer (from KOffice). I'm using revision 992661 of KDevelop.

I created the project like this:
I have koffice trunk on my disk (using git-svn). I open the root CMakeLists.txt 
in KDevelop4 and followed the wizard. Project is parsed, it takes some time...

Then everyday I open KDevelop and select Project->Open Recent -> koffice.kdev4
Project is loaded immediately in few seconds. I can somehow work on it. Then 
background parser starts to parse and my computer becames overheated. KDevelop 
eats 40% - 100% of one core on my dual core, disk operations are on high too. 
iotop shows the kdevelop as top disk reader. This takes around 30 minutes. 

KOffice project is quite big (around 280 Mb).
I know that KDevelop caches something in ~/.kdevduchain (189 Mb now). But I 
don't know why it parses every day. KOffice has few developers and there are not 
so many changes. Do you reparse just changed files on startup?

So for me there is only one workaround - use suspend and do not close the 
KDevelop4. Any ideas? Is it bug? Is it koffice project size? Can you optimize 
it?

[debug output]
 KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kchart/kdchart/doc/refman/_k_d_chart_abstract_pie_diagram_8cpp-
source.html")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kexi/webforms/webroot/extjs/panels/main.js")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kivio/stencils/Dia/Cisco/iptv_broadcast_server.shape")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/filters/generic_wrapper/README")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kexi/plugins/scripting/README")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/krita/data/profiles/monoscnr.icm")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: could not create parse-job 
for url 
KUrl("file:///home/lukas/src/koffice/kexi/koproperty2/koproperty/CMakeLists.txt")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kplato/libs/ui/relationpanel.ui")
[/debug output]

The parsing process finishes with:
[debug output]
...
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -2
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/filters/kword/wordperfect/test/pagemargin.wpd")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -1
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/libs/kotext/opendocument/tests/data/ParagraphElements/note.odt")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -1
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kivio/stencils/Dia/Network/telephone.png")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/plugins/pathshapes/pics/hi22-action-arrow-
down.png")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -2
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/krita/plugins/extensions/rotateimage/kritarotateimage.desktop")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -1
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kexi/webforms/webroot/extjs/resources/images/default/layout/gradient-
bg.gif")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -1
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kchart/kdchart/doc/refman/class_k_d_chart_1_1_header_footer__coll__graph.md5")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kplato/workpackage/pics/hi16-app-
kplatowork.png")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -2
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kpresenter/pics/rotate/bldn.png")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -1
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/libs/flake/pics/ox16-action-snap-orto.png")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kexi/pics/hi22-action-spring.png")
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/karbon/pics/hi22-action-14_star.png")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -3
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 1 0
kdevelop(3846)/kdevplatform (sublime) 
KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url 
KUrl("file:///home/lukas/src/koffice/kchart/kdchart/doc/refman/_k_d_chart_cartesian_coordinate_plane_8cpp__incl.png")
kdevelop(3846)/kdevplatform (language) 
KDevelop::BackgroundParser::updateProgressBar: m_doneParseJobs larger than 
m_maxParseJobs: 0 -1
[/debug output]





More information about the KDevelop mailing list