X11 | 8bit characters | xmodmap , latin1 keysyms , compose sequences | app resources, xterm | xmond | xev | mem footprints
Various | Home


Memory prints of some window managers on SPARC/Solaris 2.5/X11R5:
(see also some main programs below)

Table sorted by field "resident".

Each link points to list of the memory mapping in detail.
I haven't bothered to process it further on.

Note:  Neither ps(1) nor top(1) can really recognize shared mappings.
Thus it's important, if an application is also mapping a particular
library.

exec
+heap
+stack   virtual  resident ([1])  windowmanager
-----------------------------------------------------------------------------

84         1752K  1280K     aewm-1.1.1 [2] (must fork twice for displaying each of its menues)
 + 144        3376K 2140K      gtk-switch (existent while window-list is present) [ + libgtk+,glib ]
 + 144        3376K 2132K      gtk-panel (existent while root-menu is present) [ + libgtk+,glib ]
 + 112         824K  636K      sh (dito)
 + 112         824K  636K      sh (dito)
92         1760K  1284K     aewm-1.0.0 [2] (must fork twice for displaying each of its menues)
 + 128         2384K  1768K     xaw-switch (existent while window-list is present)
 + 88          824K    628K     sh ( dito )
96         1764K  1304K     9wm
104        1772K  1352K     lwm-1.01
168        1836K  1384K     larswm-7.0.13
156        1824K  1396K     uwm
248        1932K  1412K     fvwm-1.22r
260        1944K  1412K     fvwm-1.2.4r
196        1956K  1448K     pwm-1.0
336        2020K  1484K     fvwm2
 + 36         1720K  1000K     FvwmAuto (optional)
 + 90         1772K  1236K     FvwmPager (optional)
 + 272        1932K  1388K     FvwmButtons (optional)
332        1996K  1580K     bowman-0.93  [ + libXpm ]
 + 112        1856K  1320K     Wharf
204        2308K  1584K     wm2-4
412        2140K  1712K     olwm
 + 136        3344K  1912K     olwmslave (necessary)
420        2196K  1712K     blackbox-0.61.1
 + 212        1972K  1480K     bbkeys-0.3.5 (only necessary for hotkeys)
88         2320K  1760K     aewm-1.0.0 [2] [3]
 + 104        3320K  2648K  xaw-switch (existent while window-list is present)
 + 126        3320K  2648K     xaw-panel (existent while root-menu is present)
 + 116        1064K   904K     sh ( dito )
 + 116        1064K   904K     sh ( dito )
440        2476K  1708K     twm (X11R5)
524        2560K  1784K     vtwm
448        2552K  1816K     twm (Sun openwin)
540        2268K  1820K     olvwm
 + 136        3344K  1912K     olwmslave (necessary)
200        2752K  1836K     wmx-5 [ + libstdc++, libXpm ]
424        2596K  1856K     ctwm [ + libXpm]
780        2332K  1900K     icewm-1.0.6-5 [ + libXpm]
556        3680K  2472K     lesstif mwm  [ + libXm]
1328       3792K  2812K     wmaker-0.62.1 [ + libXpm,ungif,png,tiff,PropList,wraster]
2352       3784K  2864K     wmaker-0.62.1, after running for a while
472        3924K  2968K     mwm  [ + libXm]



-----------------------------------------------------------------------------
Some general programs:

112         824K  636K     sh /bin/sh, SVR4 Bourne shell
244        1472K 1056K     ksh-88i /bin/ksh (POSIX.2 sh)
920        1460K 1164K     bash-1.14.6
1000       1596K 1316K     ksh-93j AT&T executable
976        2024K 1504K     bash-2.02.1

196        1928K 1516K     rxvt-2.7.5 80x25
1192       3348K 2636K     xterm-146 80x40, -sb -sl 1000
488        2996K 2272K     xterm-146 80x25, +sb, no translation table resources

(one) screen-3.9.5:
-?-        1680K 1288K     screen (parent)
-?-        2368K 1692K     screen (running five shells)

           2312K 1840K     mutt-1.2.5i with 60 mails in incoming

3964       10M   3884K     Xsun (running with these experiments)

-----------------------------------------------------------------------------

[1]) resident size:

 - [with top(1) / ps(1) "vsz,rss", (identical on this system)]

 - all on SunOS5.5 with Openwin-X11R5
    + 2 XFree-XTerm, Xconsole, cpu-perfmeter, rclock, blank XROOT

 - in parentheses behind: additionally linked libraries, which might
   possibly be linked only by this window manager and then would
   account to the memory print with all mappings being used.
   Example:  rxvt(1) doesn't link libXt, xterm(1) does.
   (ambiguous example: libXt is an almost basic library)

   libXpm is also listed that way, as it's not existent on all systems.

   All other system-X11-libraries are shown below in [4] (except libX11
   and libXext, because these are linked by all window managers).

[2]) aewm is special:
 - For aewm the additional programs run as long as a rootmenu is popped up.
   aewm itself doesn't vary in size then.

[3]) One Exception, aewm on X11R6:
   listed because xaw-panel is not available with X11R5.

[4]) extra libraries:

    aewm:        (X11, Xext) [ + Xmu, Xt, Xaw (X11R6: + ICE, SM) (gtk: + gtk+, glib)]
    9wm:         (X11, Xext)
    larswm:      (X11, Xext)
    uwm:         (X11, Xext)
    pwm:         (X11, Xext)
    fvwm*:       (X11, Xext)
    bowman:      (X11, Xext)
    icewm:       (X11, Xext), Xpm
    wm2:         (X11, Xext), Xmu, Xt
    olw[v]m:     (X11, Xext), olgx
    bb:          (X11, Xext)
    twm:         (X11, Xext), Xmu, (Sun openwin: Xt)
    vtwm:        (X11, Xext), Xmu, Xt
    ctwm:        (X11, Xext), Xmu, Xt
    lesstif mwm: (X11, Xext), Xmu, Xt, Xm
    wmx:         (X11, Xext), Xpm, Xmu, Xt, libstdc++ 
    wmaker:      (X11, Xext), Xpm, ungif, png, tiff, PropList, wraster



<URL:http://www.in-ulm.de/~mascheck/X11/wm/>
mascheck at in-ulm.de, 2001-7-14