[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 147741] Kdevelop huge memory consumption
From:       Chris Morgan <cmorgan () alum ! wpi ! edu>
Date:       2007-10-16 21:10:35
Message-ID: 20071016211035.14970.qmail () ktown ! kde ! org
[Download RAW message or body]

------- 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=147741         




------- Additional Comments From cmorgan alum wpi edu  2007-10-16 23:10 -------
Hello again David.

Looking through the code nothing really obvious seems to pop out. It appears that \
most of the space is simply due to Token::m_text. One idea would be removing unused \
parameters from the Token class. It looks like this class is used for every token and \
as such it means there are likely millions of Token classes after loading a large \
project. Any reduction in size for such a repeatedly used structure may help.

Perhaps Token::m_endLine and Token::m_endColumn can be removed and replaced with a \
run-time computation using m_length and m_startLine and m_startColumn. Do you think \
this might help enough? Are these values frequently read from or only occasionally \
read from? Any other ideas how we might be able to squeeze some efficiency out of \
things? That would let things scale better with larger projects.

Chris

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic