High Memory Usage in AdGuardHome - Possible Memory Leak
Prerequisites
-
[X] I have checked the Wiki and Discussions and found no answer
-
[X] I have searched other issues and found no duplicates
-
[X] I want to report a bug and not ask a question or ask for help
-
[X] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, AMD64 (aka x86_64)
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
v0.107.53
Action
I have noticed that the memory usage of my AdGuardHome instance is particularly high, and I suspect there may be a memory leak.
[root@localhost ~]# md5sum /usr/local/adh/AdGuardHome
e7509e02941f37f4b8f704e47c5e105b /usr/local/adh/AdGuardHome
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# /usr/local/adh/AdGuardHome --version
AdGuard Home, version v0.107.53
[root@localhost ~]#
Expected result
What steps should I take to investigate the memory usage and identify any potential leaks?
Actual result
What steps should I take to investigate the memory usage and identify any potential leaks?
Additional information and/or screenshots
No response
This also happened to me when using openwrt, I have rolled back to v0.107.52
Downgrading still resulted in high memory usage for me (it saved "only" 0.1G of the 1.7 it is using)
I'm seeing a lot of AdguardHome out of memory messages on my Home Assistant Operating System console.
Same here on my OpenWRT (23.05.5), AGH (v0.107.46) goes up in memory usage by around 0.2% everyday. Restarted it, it goes quite fast to where it was before.
I have the same problem on OpenWrt 24.10.2.
same issue : 1236m 307% 0% /usr/bin/AdGuardHome -s run.
OpenWrt SNAPSHOT r0-841a1b5f / LuCI Master 25.296.54303~545de2a Ad guard apk version 0.107.67-r1 aarch64