pibar icon indicating copy to clipboard operation
pibar copied to clipboard

Massive memory footprint

Open yik77 opened this issue 4 years ago • 3 comments

First, I love pibar and would like to thank its author(s). Great work. Goes nicely with pihole. Now back to the issue:

I see huge memory usage for tiny program than produces few lines of text. Over time, when my mac is running and running, the size of memory used by pibar is almost 2 GB. This is not normal

I am attaching screenshot: Pibar

I am running OS X High Sierra, 10.13.6 on MPB with 8 GB of RAM. My typical uptime is in months.

yik77 avatar Feb 01 '21 14:02 yik77

Hmm.. I have never seen this happen personally (and I've been running PiBar all day every day since release) and haven't heard this complaint elsewhere. What's your configuration look like? I really can't imagine why this would happen, as the app isn't really storing much of anything in memory...

amiantos avatar Feb 01 '21 17:02 amiantos

I would say relatively typical one. piholes running 2 piholes on 2 pi zero w boards, none of which is DHCP server, home network with 15 or so devices at max, comcast cable for internet, plain vanilla configuration of blacklists, no whitelists.

I'll be happy to do more to troubleshoot this issue. It is reproducible, not once-and-never-again.

yik77 avatar Feb 01 '21 18:02 yik77

When I start working on it again I'll try to do a code audit and some theorizing on where there could be a memory leak. Maybe it's somehow related to High Sierra, but I'd be surprised. Either way, I will keep this in mind and try to track down possible culprits.

amiantos avatar Feb 01 '21 18:02 amiantos