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

List:       kdevelop-devel
Subject:    Re: Gideon memory usage
From:       raggi () cli ! di ! unipi ! it
Date:       2003-02-26 11:00:20
[Download RAW message or body]

Scrive Andras Mantia <amantia@freemail.hu>: 
 
> Hi, 
>  
>  I have some complains about the Gideon HEAD memory usage. After the recent 
>  
> commits to cppsupport, which changed the parsing, Gideon uses much more  
> memory than before. Right now, if I start up without a project it uses 
~25MB. 
>  
> After loading the quanta.kdevelop, it uses ~75MB. Opening a file increases  
> the memory usage with about 3MB. Closing the files or the project does not  
> decrease the memory usage, it stays around ~80MB. It's true that reopening  
> the project again does not increase the memory usage with a noticeable  
> amount. 
>  Now why am I complaining? Because until the recent commits, the memory 
usage 
>  
> was under 40MB with the same project and several files opened. I have 256MB 
>  
> RAM and 140MB swap, and if I have some more apps running, during a debugging 
>  
> session Gideon gets killed, as I quickly run out of memory. :-(  This is how 
> I  
> noticed again, that there is some problem with Gideon HEAD. 
>  I don't say that the old parsing is better, but cannot be the new one  
> optimized and the memory consumption reduced? 
 
hehehe, the point is that now gideon collect the DocumentModel(==AST) for all 
files in the projects ;) i'm finishing to implement a small "cache" that solve 
this problem ;) 
 
ciao robe 
 
 
 
 

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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