List Info

Thread: KDevelop holding on to large chunks of memory




KDevelop holding on to large chunks of memory
user name
2007-01-17 14:56:08
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

Any thoughts?

Thanks,
Nick



_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: KDevelop holding on to large chunks of memory
user name
2007-01-17 15:35:26
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
>
> Any thoughts?
>

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

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

// jens

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: KDevelop holding on to large chunks of memory
user name
2007-01-17 17:42:52
On Wednesday 17 January 2007 2:56 pm, 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
>
> Any thoughts?
>
> Thanks,
> Nick
>

The parser is running and parsing your files. 
-- 
Matt

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: KDevelop holding on to large chunks of memory
user name
2007-01-17 18:08:06
On 17.01.07 12:56:08, 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

Using top is not the right thing to do. Once a while back I
ran kdevelop
in massif once with a .pcs once without, both times loading
the
kdevelop sources as project. I'm not completely sure which
file is with
the .pcs and which one is without, but I guess this can be
read from the
output. I also don't have the link at hand about how to read
the values.

Another way would be to run kdevelop through valgrinds
memcheck or
cachegrind to find leaks.

Andreas

-- 
Are you sure the back door is locked?
  
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )