I think I might have found one of the causes of memory leaking in
bbkeys, but unfortunately, I simply do not have the time to track it
down and fix it. (I would like to have a little chat with whoever came
up with the idea of "exams".)

Here is the initial memory usage of bbkeys:
VmSize:     3496 kB
VmLck:         0 kB
VmRSS:      1888 kB
VmData:      708 kB
VmStk:        24 kB
VmExe:        96 kB
VmLib:      2508 kB

Now I open a couple dozen terminals. After this, memory usually is, as
expected, identical.
Now, I do a window cycle with the menu. It creates a big list and, as
expected memory usage jumps:
VmSize:     3796 kB
VmLck:         0 kB
VmRSS:      2148 kB
VmData:     1008 kB
VmStk:        24 kB
VmExe:        96 kB
VmLib:      2508 kB
Not by much, but significantly. Now I kill all those windows. Now
cycling again, memory usage remains the same, or sometimes slightly
decreases, but never back to, what I think is the expected, initial
level. If I repeat this process several times, I can get bbkeys to
take up much, much more memory than it really ever should.

Perhaps this behaviour is expected; I don't know  (Is there some
caching going on?)

scott
-- 
Copyleft (c) 2001, Scott Moynes

Attachment: msg03926/pgp00000.pgp
Description: PGP signature

Reply via email to