Bug 109609 - Memory usage spikes when modifying a large .c file, but only when it is first added to a project
Summary: Memory usage spikes when modifying a large .c file, but only when it is first...
Status: RESOLVED DUPLICATE of bug 96909
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 22:20 UTC by Kyle
Modified: 2005-07-25 22:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle 2005-07-25 22:20:30 UTC
Version:           KDevelop 3.1.2 and 3.1.1 (using KDE KDE 3.3.1)
Installed from:    Fedora RPMs
OS:                Linux

This is similar to bug #96909, except that any modification at all to the file causes KDevelop's memory usage to spike.  Also, the proposed work-around of putting a file named .kdev_ignore in the source code's directory did not have any affect on the memory spikes.  For me, these spikes in memory usage never actually caused Kdeveop to crash, but would cause the computer to page memory to disk for about 30-60 seconds before recovering.  

This problem only surfaced with one particular .c file that is over 6000 lines long.  I tried opening other C++ projects with multiple files and never had a problem.
Comment 1 Jens Dagerbo 2005-07-25 22:31:07 UTC
It's the same basic problem. The C/C++ parser is triggered by the editing of the file and goes to work on it. And consumes a huge amount of memory, sadly.

Dupe.

*** This bug has been marked as a duplicate of 96909 ***