AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

High Memory Usage in AdGuardHome - Possible Memory Leak

Open iwalke opened this issue 1 year ago • 6 comments

Prerequisites

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. image image

[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

iwalke avatar Oct 20 '24 10:10 iwalke

This also happened to me when using openwrt, I have rolled back to v0.107.52

k-fire avatar Oct 20 '24 11:10 k-fire

Downgrading still resulted in high memory usage for me (it saved "only" 0.1G of the 1.7 it is using)

Robin-Sch avatar Oct 30 '24 21:10 Robin-Sch

I'm seeing a lot of AdguardHome out of memory messages on my Home Assistant Operating System console.

jjlink avatar Nov 09 '24 13:11 jjlink

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.

Zaelnorth avatar Nov 30 '24 06:11 Zaelnorth

I have the same problem on OpenWrt 24.10.2.

wavy-cat avatar Sep 29 '25 18:09 wavy-cat

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

JonOLinux avatar Oct 26 '25 06:10 JonOLinux