Re: Possible memory leak.

[email protected]
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
> The other dock apps also pops a new info bubble but they do not cause the
> mem usage to rise.

run a memory profiler on miniapm?
reinstall matchbox + miniapm in order to make sure they're the newest?

> I do not know if I can trust the output of ps, but VmSize for miniapm is
> 3892 and only 3388 for rxvt-aa. From these numbers it seems like miniapm
> uses a lot of mem.

That's some virtual number. Doesn't mean it consumes that much RAM.
But it's high, nevertheless.

> Wheter /proc/apm gives 'normal' results...  I think so. an example:  cat
> /proc/apm -> 1.13 1.2 0x02 0x01 0x00 0xff 100% 300 min
> 
> It may be the kernel that is causing my problems, since when I try to start
> a program that does not fit the available memory the kernel kills any other
> process to make room. I posted this on the Familiar mail list earlier.

Well, what do you think the kernel should do? There is no more memory,
you can't wait and hope the problem goes away, so you have to kill SOME
process. There is some heuristic in the kernel for that, aimed at killing
processes that are requesting memory, iirc.
It may well be that's a bad heuristic for PDAs (it should kill miniapm for
you, I'd say).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.