[Bug 73671] gideon takes too much memory for big projects

Sascha Cunz mail at sacu.de
Thu Jan 29 02:53:07 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=73671      




------- Additional Comments From mail at sacu.de  2004-01-29 02:52 -------
I made kdevelop parse Linux 2.4.22 Kernel Sources. At about 80% i attached a gdb to it. This results somewhere doing a heap sort down in QListView called from ProblemReporter.
Letting it run on and giving it a SIGINT some time later, results in the same. I did sent it several SIGINTs and always ended somewhere in that heapsort.

Looking at cppsupportpart.cpp lines 121 to 130, CppDriver::parsedFile. The problems of the recently parsed file are removed from ProblemReporter and reinserted there. #ifdef 0ing those 9 lines, makes kdevelop parse linux kernel at about 20% of the time it took with those lines.

Still: Even when loading the parseroutput from a pcs file, it seems that it gets slower the more it has read.
Roberto, is there something other than the ProblemReporter ListView which gets sorted on the fly?




More information about the KDevelop-devel mailing list