# Why does AGH take so much fuggin memory?

**URL:** <https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861>\
**Category:** Router\
**Created:** [January 5, 2024, 6:03pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861 "2024-01-05T18:03:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 5, 2024, 6:03pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/1 "2024-01-05T18:03:09Z")

</div>

If I enable _only_ the block google DNS filter list it instantly shoots memory use to over 90% which leaves things liable to go wrong and possibly even brick the router (Flint AX). What is the point of adding AGH if you have to nearly kill the device just to run 1 single list? @alzhao

---

<div class="post-metadata">

**Author:** ![admon](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/admon/32/32880_2.png) [@admon](https://forum.gl-inet.com/u/admon)\
**Post date:** [January 5, 2024, 8:06pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/2 "2024-01-05T20:06:12Z")

</div>

How large is this list?

Do you use the preinstalled AGH?  
What features of AGH do you use?

Taking much RAM isn’t a problem. Unused RAM is wasted RAM.

---

<div class="post-metadata">

**Author:** ![genki](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/43a26b/32.png) [@genki](https://forum.gl-inet.com/u/genki)\
**Post date:** [January 5, 2024, 9:09pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/3 "2024-01-05T21:09:20Z")

</div>

Mine uses a ton of mem also, but the router is stable and I just don’t worry about it too much.

I use only 1 list - the Hagezi Pro extended list with about 262,536 rules it blocks about 32% of my network traffic.  
[https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/pro.txt](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/pro.txt)

 ![image](https://forum-static.gl-inet.com/original/2X/4/4b4dbc0f46622f9babac19e614024f23205fb1ff.png)

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 5, 2024, 9:18pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/4 "2024-01-05T21:18:21Z")

</div>

@admon it used 93% and the list is less than 2,000. I will have to figure out how to edit the list also as the No Google list blocks YouTube which I still want to use. The only feature I used was DNS filtering and nothing else. I did also have VPN running at the same time.  
[![](https://forum-static.gl-inet.com/original/2X/6/60eb2b2ce06c5eec84d29952adfeedce391d685e.png) ](https://forum-static.gl-inet.com/original/2X/6/60eb2b2ce06c5eec84d29952adfeedce391d685e.png)

@genki do you also use VPN on the same router? Have you had any crashes or unexpected behaviour in the past? I know some people mentioned that it apparently gets pretty warm under maxload.

---

<div class="post-metadata">

**Author:** ![genki](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/43a26b/32.png) [@genki](https://forum.gl-inet.com/u/genki)\
**Post date:** [January 5, 2024, 9:32pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/5 "2024-01-05T21:32:26Z")

</div>

Yep I have a Wireguard server running, and just using DNS filtering in AdGuard with the list mentioned above.

Both 2ghz and 5ghz WiFi clients, no guest SSID.

Nothing else fancy.

This router has been rock solid for a few years now, apart from last month when I tried to add more AdGuard lists, the router would die nightly.

Cutting back to that single AdGuard list seems to have fixed my issue.

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 5, 2024, 9:50pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/6 "2024-01-05T21:50:36Z")

</div>

That is reassuring to know, thanks!

When it would die could you revive it by just unplugging the power cable and then putting it back in or did you have to use the u boot recovery thing?

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 5, 2024, 9:55pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/7 "2024-01-05T21:55:45Z")

</div>

@admon do you think I could make a “custom” blocklist to get YouTube back by copying the current No Google DNS list to pastebin and just deleting the YouTube stuff, then set the saved paste URL as the pathway to find the custom list?

---

<div class="post-metadata">

**Author:** ![genki](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/43a26b/32.png) [@genki](https://forum.gl-inet.com/u/genki)\
**Post date:** [January 5, 2024, 9:57pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/8 "2024-01-05T21:57:40Z")

</div>

I had to power cycle reboot it and it would come right back up.

It happened when I had all 3 of these lists enabled.

 ![image](https://forum-static.gl-inet.com/original/2X/2/2ab980f5523935a0603458e113d1c80be6941e02.png)

I am not running the latest AdGuard either, I’m on Version: v0.107.26

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 5, 2024, 10:03pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/9 "2024-01-05T22:03:00Z")

</div>

> [@genki](#):
>
> I am not running the latest AdGuard either, I’m on Version: v0.107.26

I am using the exact same version too, I checked for updates and it looks like this is the latest GL has given us. Hopefully a future update will help reduce how much memory it takes up.  
[![](https://forum-static.gl-inet.com/original/2X/3/36f0e9f8f7f450f665a988d20b8fe7ed028c98b0.png) ](https://forum-static.gl-inet.com/original/2X/3/36f0e9f8f7f450f665a988d20b8fe7ed028c98b0.png)

Potential stupid question: Does the meltdown and spectre vulnerability patch add to why this happens? I remember it causes a drain of resources

---

<div class="post-metadata">

**Author:** ![genki](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/43a26b/32.png) [@genki](https://forum.gl-inet.com/u/genki)\
**Post date:** [January 5, 2024, 10:07pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/10 "2024-01-05T22:07:51Z")

</div>

AdGuard does have update enabled anymore on this gl-inet code as far as I remember it was disabled.

So if you want to update AdGuard you have to do it manually from Luci I think.

---

<div class="post-metadata">

**Author:** ![genki](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/43a26b/32.png) [@genki](https://forum.gl-inet.com/u/genki)\
**Post date:** [January 5, 2024, 10:08pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/11 "2024-01-05T22:08:21Z")

</div>

You can take a look here for AdGuard updates.

> [@How to upgrade Adguard on the Flint, auto and manual?](https://forum.gl-inet.com/t/how-to-upgrade-adguard-on-the-flint-auto-and-manual/21556/25):
>
> Perhaps you used wrong architecture for Flint 2. You should use [https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.41/AdGuardHome\_linux\_arm64.tar.gz](https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.41/AdGuardHome_linux_arm64.tar.gz).

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 5, 2024, 10:18pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/12 "2024-01-05T22:18:26Z")

</div>

I can download AdGuardHomeLinux.tar.gz but not sure where to go from that point on. If you managed to sucessfully upgrade in the GUI then how are we still both on the same version? Shouldn’t yours be more recent than mine? It also seems pretty unhelpful for GL to disable the auto updates for some reason.

---

<div class="post-metadata">

**Author:** ![genki](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/43a26b/32.png) [@genki](https://forum.gl-inet.com/u/genki)\
**Post date:** [January 5, 2024, 10:29pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/13 "2024-01-05T22:29:52Z")

</div>

No I updated mine way back, maybe 6 months or more. And I had to go into Luci and delete some stuff before I could use the GUI button to update.

It was never “auto updated” as far as I remember.

I think they disabled the update button because so many people had problems with it and it.

I’m just too lazy to upgrade from the Luci CLI at the moment, I’ll get to it sometime 🙂

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 5, 2024, 11:15pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/14 "2024-01-05T23:15:57Z")

</div>

Am I correct in thinking this is the latest version? [https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.43/AdGuardHome\_linux\_arm64.tar.gz](https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.43/AdGuardHome_linux_arm64.tar.gz)

I might try manually updating things by just guess work and hope nothing major goes wrong.

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 5, 2024, 11:23pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/15 "2024-01-05T23:23:39Z")

</div>

I just realized its ARMv7 that is needed, I downloaded it and uploaded it to the router via luci but then got a security warning, can anybody confirm its safe? The file was downloaded from the AdGuard Home Github page so should be legit but I’d prefer confirmation before I add it.

 ![Screenshot_20240105-232139](https://forum-static.gl-inet.com/original/2X/3/3734f5a4bf8f905f57b9c9aba45f86b9d8350b68.png)

---

<div class="post-metadata">

**Author:** ![slesar](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/slesar/32/13581_2.png) [@slesar](https://forum.gl-inet.com/u/slesar)\
**Post date:** [January 6, 2024, 12:36am UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/16 "2024-01-06T00:36:12Z")

</div>

My option to save your ram and less filters. Try make Adguard DNS ([adguard-dns.io](http://adguard-dns.io)) and put your dns server in upstream adguard home. After that remove filters in adguard home which same filter adguard dns server.  
Would be save ram in your router 🤔

About update new version adguard home - not recommend , not enough space for oldest router.

---

<div class="post-metadata">

**Author:** ![slesar](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/slesar/32/13581_2.png) [@slesar](https://forum.gl-inet.com/u/slesar)\
**Post date:** [January 6, 2024, 2:31am UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/17 "2024-01-06T02:31:00Z")

</div>

![Screenshot_2024-01-06-02-26-25-319_com.brave.browser](https://forum-static.gl-inet.com/original/2X/6/6a9d8967ab0facd5c7a1c7fcf8f6b8c2f53be334.jpeg)  
Does have list filter in adguard dns server.  
Inlcude hagezi list 😉  
Parent control can block a lot of services like Facebook 😉

---

<div class="post-metadata">

**Author:** ![admon](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/admon/32/32880_2.png) [@admon](https://forum.gl-inet.com/u/admon)\
**Post date:** [January 6, 2024, 7:18am UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/18 "2024-01-06T07:18:16Z")

</div>

You could, but what is the point of that?  
If you would like to stop Google tracing you, you have to avoid YouTube as well.

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 6, 2024, 3:13pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/19 "2024-01-06T15:13:42Z")

</div>

> [@admon](#):
>
> If you would like to stop Google tracing you, you have to avoid YouTube as well.

I would love Google to stop tracing me for the rest of my life but I know that would be practically impossible, even with blocking YouTube. The best I can do is majorly reduce points of contact until I selectively have only one point of contact and its for the one Google owned service that I want to use. I use YouTube without a Google account so I feel that allowing _just_ YouTube gives them very little to go off.

---

<div class="post-metadata">

**Author:** ![GrannySmasher](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/dc4da7/32.png) [@GrannySmasher](https://forum.gl-inet.com/u/GrannySmasher)\
**Post date:** [January 6, 2024, 5:08pm UTC](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861/20 "2024-01-06T17:08:03Z")

</div>

@slesar Thanks for the tip! I’ve created an account with AdGuard DNS and up to setup page 2. Am I supposed to put [d.adguard-dns.com](http://d.adguard-dns.com) in my client device DNS settings and then forward to VPN DNS in the AdGuard DNS server config pages?

Edit: It actually turns out I will have to leave the AGDNS option as you have to use full default lists meaining I can’t import a custom list which would allow me to remove YouTube from the blocklist ☹

[Next page](https://forum.gl-inet.com/t/why-does-agh-take-so-much-fuggin-memory/36861.md?page=2)
