Re: Bug#816872: wmbattery: memory leak in wmbattery

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
Control: forwarded -1 [email protected]

On 03/05/2016 10:24 PM, Dave Johnson wrote:
> Package: wmbattery
> Version: 2.45-2
> Severity: important
>
> Dear Maintainer,
>
> wmbattery appears to have a memory leak.  When invoked with "wmbattery -w 2" it is leaking approx 350KB/minute on my system.  Eventually it runs out of memory and is killed by kernel.
>
>
> $ while sleep 300; do ps u $(pidof wmbattery); done
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.0  18524  6792 ?        Sl   21:24   0:00 wmbattery -w 2
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.1  20068  7976 ?        Sl   21:24   0:01 wmbattery -w 2
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.1  21604  9404 ?        Sl   21:24   0:01 wmbattery -w 2
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.1  23160 10588 ?        Sl   21:24   0:02 wmbattery -w 2
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.1  24696 12208 ?        Sl   21:24   0:03 wmbattery -w 2
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.1  26164 14032 ?        Sl   21:24   0:03 wmbattery -w 2
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.1  27700 15464 ?        Sl   21:24   0:04 wmbattery -w 2
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.2  29644 17240 ?        Sl   21:24   0:05 wmbattery -w 2
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> davijoh3 29894  0.2  0.2  31180 18964 ?        Sl   21:24   0:05 wmbattery -w 2

Thanks for your report!  I'll look into it.  (Also forwarding upstream.)


-- 
To unsubscribe, send mail to [email protected].
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.