KDevelop holding on to large chunks of memory

Nick Savoiu savoiu at yahoo.com
Wed Jan 17 22:20:20 UTC 2007


Here are the top values for step 5 and 10 for another project:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND

29873 nick       9   0  657M 656M 26232 S     0.0 32.5   0:36 kdevelop
29922 nick       9   0  142M 142M 25912 S     0.0  7.0   0:15 kdevelop

This is what top reports right after "Updating..." finishes.

Also, on an empirical note, it takes roughly 15 seconds to close KDevelop in step 6 whereas it takes only 2 seconds in step 11. This tells me that most of those pages are used and not just allocated virtual memory.

Additionally, KDevelop crashes every other time when I put it through step 3 but I don't have a valid trace. Anything else I can do to debug it?

Nick


----- Original Message ----
From: Jens Dagerbo <jens.dagerbo at swipnet.se>
To: kdevelop-devel at kdevelop.org
Sent: Wednesday, January 17, 2007 1:35:26 PM
Subject: Re: KDevelop holding on to large chunks of memory

On Wednesday 17 January 2007 21:56, Nick Savoiu wrote:
> I have a large custom project with 1000's of .cpp/.h files. If I delete the
> .pcs file to force a recomputation of it then the KDevelop session baloons
> to large amount of memory and then hangs on to them until closed.
>
> For example, for my project
>
> 1. I delete the .pcs file
> 2. start KDevelop
> 3. load the project
> 4. wait till "Updating..." is done
> 5. check memory usage: 874MB
> 6. close KDevelop
> 7. start KDevelop
> 8. load the project
> 9. wait till "Updating..." is done
> 10. check memory usage: 160MB
> 11. close KDevelop
>
> Any thoughts?
>

I guess the most immediate thought is.. how do you know?

See:
http://www.kdedevelopers.org/node/1445
http://koltsoff.com/pub/ures/

// jens

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







More information about the KDevelop-devel mailing list