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

List:       kde-devel
Subject:    Re: measuring KDE memory usage
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-02-27 23:07:00
[Download RAW message or body]

On Tuesday 27 February 2001 14:41, Tamas Szanto wrote:
> What kind of tool could you recommend for reporting KDE memory
> usage as precisely as possible? 

cat /proc/<pid>/status

> Top and its variants always show the
> amount of code+data together with the used shared memory, e.g. kwrite,
> (its file size is around 14 KB) has a full memory footprint of > 6 MB.

Yes. It is very hard to get reliable info on this. /proc/<pid>/status gives a 
good indication of the dynamically allocated data by an application.

To get an indication of the memory usage of a single application you can do
a "ldd <application>" to get an overview of the libs used and then you can 
examine the size of the various libs with 'objdump -h <library>'

> Could anyone give me a rough estimate on the amount of physical memory used
> by a fresh X 4.02 + KDE 2.1 install (after loading the desktop, without any
> apps)?
> My wild guess is that KDE is consuming in the 10-15 MB range plus X
> allocates
> around 10 MB.

Total memory usage on my system is around 30Mb after starting KDE.

Cheers,
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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