Bug#816872: wmbattery: memory leak in wmbattery
Doug Torrance
dtorrance at piedmont.edu
Mon Mar 7 16:14:52 UTC 2016
Control: forwarded -1 wmaker-dev at lists.windowmaker.org
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.)
More information about the Pkg-wmaker-devel
mailing list