(NO) Memory Leak with PiHole v6.3

hello,

I run Pi-Hole on a RPi4. This RPi4 is used exclusively for Pi-Hole. After updating to v6.3, I noticed the memory being used up more and dropping steadily. Here’s the memory profile:

htop says these are my memory consumers. I don’t know what it was before, or if 7.9% is high, but I can post again later and see if it increases

image

A leak would cause memory utilization to increase, not decrease.

8% is not high to me, you bought all the ram, might as well use it, you don't get any benefits from trying to save RAM.

Hey Dan!

Thanks, sorry it's not clear on the graphic but the plot is showing how much memory is left.

It's still a bit unusual for this system I'll post an update later. I agree with you, that it you should use most of the memory as long as it stops at some point.

Free or available?
Could this be just disk cache that increased for some reason?

Caching is good :wink:

things seem to have stabilized

memory usage for PiHole went up slighlty to 8.2%

image

Ok false alarm. Not sure what caused it, but should be good now.

Cheers

Still not clear if that graph is showing "free" or "available" memory?

$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        1.9G        480M         91M        1.5G        1.8G
Swap:          2.0G        408M        1.6G

There is a huge difference.
You want it to show "available" and not "free" (see link ^).

It's available memory