Hello.
I am just trying Blackbox. Currently I am using icewm as my window manager,
so I decided to compare the memory usage of both window managers.
At startup I get the following (from the top program) for Blackbox
(with default style) and icewm:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
14137 root 2 0 7384 7384 1964 S 0 0.3 11.7 0:01 X
14149 romildo 1 0 2432 2432 1768 S 0 0.1 3.8 0:00 Eterm
14141 romildo 0 0 1744 1744 1244 S 0 0.0 2.7 0:00 blackbox
Then I take the following actions:
maximized and then restored Eterm,
opened, maximized, restored and then closed netscape navigator,
opened, maximized, restored and then closed xemacs,
opened, maximized, restored and then closed write,
and after that, top gives the following memory usage:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
14137 root 12 0 22336 21M 2000 R 0 0.5 35.5 0:06 X
14149 romildo 1 0 2556 2556 1772 S 0 0.1 4.0 0:00 Eterm
14141 romildo 1 0 1808 1808 1252 S 0 0.0 2.8 0:01 blackbox
With icewm, initialy I got:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
14584 root 3 0 5196 5196 1968 S 0 0.8 8.2 0:00 X
14588 romildo 1 0 2760 2760 1664 S 0 0.0 4.3 0:00 icewm
14598 romildo 0 0 2436 2436 1772 S 0 0.0 3.8 0:00 Eterm
and after the same operations mentioned above:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
14584 root 18 0 6432 6432 2000 S 0 1.5 10.2 0:05 X
14588 romildo 1 0 2768 2768 1668 S 0 0.0 4.4 0:01 icewm
14598 romildo 2 0 2548 2548 1772 S 0 0.3 4.0 0:00 Eterm
Conclusion:
X may be keepin memory allocated even after the program has been
closed only under Blackbox. This may be better noticed when we do
operations involving redimensioning windows.
Query:
Is it a bug with Blackbox, or is it a "normal" behaviour?
Any hints?
Romildo
--
Prof. Jos� Romildo Malaquias <[EMAIL PROTECTED]>
Departamento de Computa��o
Universidade Federal de Ouro Preto
Brasil