`AdguardSvc.exe` is using 4.5GB of RAM
AdGuard version
7.16
Browser version
Edge 120.0.2210.144
OS version
Windows 11 23H2 (OS Build 22631.3007)
What filters do you have enabled?
AdGuard Base filter, AdGuard Chinese filter, AdGuard Dutch filter, AdGuard French filter, AdGuard German filter, AdGuard Russian filter, AdGuard Spanish/Portuguese filter, AdGuard Tracking Protection filter, AdGuard Social Media filter, AdGuard Annoyances filter, EasyList Czech and Slovak, EasyList Italy, Liste AR, Estonian List, I don't care about cookies
What Stealth Mode options do you have enabled?
No response
Support ticket ID
No response
Issue Details
Unkown, just realized the computer going slow and opened Process Explorer and found that AdguardSvc.exe using 4.5GB of RAM.
Actual Behavior
No response
Expected Behavior
Don't expect for AdguardSvc.exe to be using 4.5GB of RAM
Screenshots
No response
Additional Information
Other filters:
AdGuard Ukrainian filter Persian Blocker IndianList
Few mins later now to 4.8GB of RAM usage.
And now adguard just crashed.
Внедрили поддержку 64-битности.) Попробуйте сегодняшнюю 7.17 beta 1, где некоторая оптимизация AdguardSvc.exe.
I see, perfect timing eh
Upgraded my Adguard to 7.17 beta 1.
@war59312 is it still relevant?
... AdguardSvc.exe using 4.5GB of RAM.
Afraid so, still happening with 7.17 beta 1.
All RAM is in use.
Seems to be tied to Edge, as once I close Edge I see Adguard SVC return to normal RAM use, below 50MB.
@war59312 could you please provide us with adguard.db file (C:\ProgramData\Adguard\adguard.db) and your settings (Settings -> General Settings -> Export settings)? Send it all over here [email protected]
I'm experiencing similar. Except it's using 30 GB memory. I just sent a message to devteam.
@war59312 and @rotu, along with the sent logs and settings could you please provide us with the memory dump for the leaking adguardsvc.exe process - the small instruction you can find here
@adbuker how do you recommend I transfer the memory dump? The larger one is 8 GB compressed
Edit: I wound up using SwissTransfer by infomaniak to transfer the files.
@rotu , could you please upload to any file sharing you prefer
@rotu is it possible to send us the dump (using a file host service)? Have you tried to check if the problem still appears after resetting the settings to default?
- I sent several dumps to the [email protected] email already. Do you have access to that inbox and file links?
- I tried again after reinstalling but I don’t think I tried with default settings. I’m doing that now.
@northis I reset the settings to default and this issue still appears. It's probably a massive hint that, in resource monitor, the "Commit" column is showing several gigabytes whereas the "Working Set" is reasonable.
Anyway, do you still want that dump?
@rotu We are still working on it, your dump is very helpful, thank you. By the way, do you use AdGuard Assistant browser extension? You can try to reinstall it and check for the memory consumption again.
I had the extension enabled and I just disabled it. I highly doubt that was a relevant issue since the problem clearly happens in the AdguardSvc.exe process, and when no browsers are running.
@northis After disabling AdGuard Assistant, I can confirm the problem is still happening. Here are the memory details from sysinternals Process Explorer:
@rotu It is good you have Process Explorer. Could you please share the content of .NET Performance tab?
@rotu It looks like you have software installed that keeps changing your system DNS. This causes AdGuard to reload the protection.
@rotu we are fixing this now, could you please reproduce the issue and send us debug logs? Here is how to collect them. Thank you in advance.
@rotu It looks like you have software installed that keeps changing your system DNS. This causes AdGuard to reload the protection.
Interesting. I can see how this would manifest an existing memory leak but it doesn't sound like a root cause
As for DNS: Docker desktop may be the most likely culprit. It does do some local DNS resolution, and I do have that running. I have used ZeroTier in the past but I don't think it's running. I also (rarely) run Unifi Network Server on my computer to manage network equipment.
I've sent debug logs to the devteam email
@rotu thank you for the logs. We prepared this build with possible fix, can you try it?
@northis What's the expected memory usage? I'm still above 500MB from AdguardSvc alone, which seems excessive next to the ~100MB taken up by com.adguard.mac.adguard.network-extension on Mac.
I can see today, on 7.17 nightly 26 (4701) that memory usage on AdguardSvc is up to 640 MB, so it looks like there are still memory leaks.
same with 7.17.0. (4705), after 2 days of runtime, around 940 MB (at least far better compared to before, 7 days with 40GB)
after 5 days 1,78 GB
The image says all.
email to dev team sent with memory dump and other details.