On 02/12/09 03:47, Michael Schuster wrote:
Martin Bochnig wrote:
I mean, ok: I got used to it, that small daemons like the
network-auto-magic manager can consume 86MB. Also, that small almost
useless little Gnome-applets can consume hundreds of MB's (wnck-applet
104MB, clock-applet 80MB, mixer-applet2 91MB, trashapplet 87MB,
gnome-panel 114MB, etc etc etc ...).
not wanting to defend this applet-mania :-) but you may be victim of
mapped-in stuff being reported more than once although it in fact
consumes memory only once (executable shared libs, eg).
Exactly. The fact that gnome applications and applets make such heavy
use of shared libraries means individually they look bad using
traditional 'high level' tools which don't distinguished shared from
private memory. But it means they are efficient when many apps use the
same library which needs only be mapped once for many processes or many
users of a modern multiuser OS
'pmap -x' may help identify those pieces of memory.
I just had a quick look at this. To be honest, this is the first I'd
heard that top was in opensolaris. I've always used prstat. But yes,
top does leak heap space:
0000000100114000 2992 2584 2584 - rwx-- [
heap ]
0000000100400000 8192 8192 *8192 * - rwx--
[ heap ]
FFFFFFFF7E100000 64 32 32 - rwx-- [
anon ]
FFFFFFFF7E200000 64 64 64 - rwx-- [
anon ]
FFFFFFFF7E300000 8 8 8 - rwx-- [
anon ]
0000000100114000 2992 2584 2584 - rwx-- [
heap ]
0000000100400000 12288 12288 *12288 * - rwx--
[ heap ]
FFFFFFFF7E100000 64 32 32 - rwx-- [
anon ]
FFFFFFFF7E200000 64 64 64 - rwx-- [
anon ]
FFFFFFFF7E300000 8 8 8 - rwx-- [
anon ]
0000000100114000 2992 2584 2584 - rwx-- [
heap ]
0000000100400000 16384 16384 *16384 * - rwx--
[ heap ]
FFFFFFFF7E100000 64 32 32 - rwx-- [
anon ]
FFFFFFFF7E200000 64 64 64 - rwx-- [
anon ]
FFFFFFFF7E300000 8 8 8 - rwx-- [
anon ]
0000000100114000 2992 2592 2592 - rwx-- [
heap ]
0000000100400000 45056 45056 *45056 * - rwx--
[ heap ]
FFFFFFFF7E100000 64 32 32 - rwx-- [
anon ]
FFFFFFFF7E200000 64 64 64 - rwx-- [
anon ]
FFFFFFFF7E300000 8 8 8 - rwx-- [
anon ]
When I try to run top with LD_PRELOAD set to libumem and UMEM_DEBUG set
to default, it exits with Abort. So chances are it's doing something
incorretly. Was this recently ported from Linux?
Michael
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org