Hi,
I've encountered some sort of odd memory loss problem, and was wondering whether
anyone on the Cooker list can help me diagnose it. I'm running Mandrake 7.1 but with
most of my key RPMS (XFree86-4.0.1, KDE-1.93, etc.) upgraded to the current cooker.
In testing KDE-2 I noticed that it was using vast quantities of memory:
KDE-2 + Konsole + Top:
RAM: 48876 K used 13916 K free
Swap: 25664 K used 72580 K free
This is obviously ridiculous, so I thought I'd try another window manager to see
whether it was a KDE problem. The following was my result:
Enlightenment-0.16 + Eterm + Top
RAM: 61144 K used 1648 K free
Swap: 3104 K used 95140 K free
So RAM + Swap = ~10 MB less than KDE-2, which is pretty much what I expected should
happen. So I chose to look closer at the output of top (attached). So where's the
memory going? My interpretation of the Top output is that I shouldn't be using any
more than about 45 MB, which seems a bit steep to me.
Naturally on a 64 MB machine I want to cut this down. Does anyone have any
suggestions?
Cheers,
-Karl
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-Karl Mitchell=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Dept. of Geomatic Engineering | Secretary, ISPRS WG IV/5 |
| University College London | "Extraterrestrial Mapping" |
| Gower Street, LONDON WC1E 6BT | +44 (0)20 7504-2744 |
[EMAIL PROTECTED]=-=-==-=-=-=-=-=-=-=-=-
"Science is like sex: sometimes something useful comes out, but
that is not the reason we are doing it"
-- Richard Feynman
10:14am up 31 min, 2 users, load average: 0.02, 0.05, 0.09
37 processes: 34 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 9.9% user, 0.7% system, 0.0% nice, 89.2% idle
Mem: 62792K av, 55204K used, 7588K free, 12880K shrd, 1268K buff
Swap: 98244K av, 3056K used, 95188K free 23628K cached
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
1025 root 15 0 24808 24M 1824 R 0 5.5 39.5 0:25 X
1103 kmitchel 10 0 3160 3160 1580 R 0 4.1 5.0 0:02 Eterm
1032 kmitchel 3 0 5256 5256 2168 S 0 0.5 8.3 0:02 enlightenment
1215 kmitchel 4 0 876 876 696 R 0 0.3 1.3 0:00 top
1 root 0 0 352 352 292 S 0 0.0 0.5 0:00 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kswapd
6 root -20 -20 0 0 0 SW< 0 0.0 0.0 0:00 mdrecoveryd
75 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 khubd
284 bin 0 0 76 0 0 SW 0 0.0 0.0 0:00 portmap
297 root 0 0 56 0 0 SW 0 0.0 0.0 0:00 apmd
347 root 0 0 256 176 128 S 0 0.0 0.2 0:00 syslogd
355 root 0 0 388 0 0 SW 0 0.0 0.0 0:00 klogd
368 root 0 0 236 188 140 S 0 0.0 0.2 0:00 crond
382 root 0 0 140 0 0 SW 0 0.0 0.0 0:00 cardmgr
400 root 0 0 56 0 0 SW 0 0.0 0.0 0:00 irmanager
414 root 0 0 68 0 0 SW 0 0.0 0.0 0:00 inetd
427 root 0 0 88 0 0 SW 0 0.0 0.0 0:00 lpd
457 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 lockd
458 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 rpciod
475 root 0 0 124 0 0 SW 0 0.0 0.0 0:00 rpc.statd
503 root 0 0 120 48 32 S 0 0.0 0.0 0:00 automount
536 root 0 0 112 80 52 S 0 0.0 0.1 0:00 gpm
550 xfs 0 0 3848 2460 584 S 0 0.0 3.9 0:01 xfs
595 root 0 0 1068 1068 816 S 0 0.0 1.7 0:00 login
596 root 0 0 60 0 0 SW 0 0.0 0.0 0:00 mingetty
597 root 0 0 60 0 0 SW 0 0.0 0.0 0:00 mingetty
598 root 0 0 60 0 0 SW 0 0.0 0.0 0:00 mingetty
599 root 0 0 60 0 0 SW 0 0.0 0.0 0:00 mingetty
600 root 0 0 60 0 0 SW 0 0.0 0.0 0:00 mingetty
609 root 0 0 380 376 324 S 0 0.0 0.5 0:00 dhcpcd
840 root 0 0 1332 1332 968 S 0 0.0 2.1 0:00 bash
1022 root 0 0 1280 1280 1180 S 0 0.0 2.0 0:00 gdm
1026 root 0 0 1464 1388 1160 S 0 0.0 2.2 0:00 gdm
1118 kmitchel 3 0 1404 1404 996 S 0 0.0 2.2 0:00 bash