KDevelop memory footprint

Milian Wolff mail at milianw.de
Wed Jun 7 09:01:10 UTC 2017

On Wednesday, June 7, 2017 10:59:06 AM CEST René J.V. Bertin wrote:
> On Wednesday June 07 2017 10:29:11 Milian Wolff wrote:
> >It depends. Do you have lots of documents open? Then yes, the memory usage
> What is "lots" here?

More than 10? Hard to say.

> IOW, how many MB should we expect per open document, or
> per Kb (or line) of open document?

These metrics don't correlate.

> >There's a long-time entry on our TODO list to evict TU's from memory when
> >the accompanying document hasn't been touched in a long time. That should
> >improve the situation, but hasn't been done yet.
> I did notice that the footprint decreases when I close documents, but it's
> not "instantaneous" and not all memory is released. There's also an
> interaction with the OS's memory compression and "recuperation" features.
> I've been experimenting with a few small local modifications to reduce the
> number of temporary files in use. Without much success because I don't
> really know where to look, but could doing that also affect the memory
> footprint?
> https://github.com/RJVB/macstrop/blob/master/kf5/kdevelop5/files/patch-clean
> up-tempfiles.diff (and
> https://github.com/RJVB/macstrop/blob/master/kf5/kdevplatform5/files/devel/
> patch-cleanup-tempfiles.diff)

Measure the memory footprint with a heap profiler and you'll know. Don't pull 
us into another of your guesstimate games please.


Milian Wolff
mail at milianw.de

More information about the KDevelop-devel mailing list