AdGuardVPNForWindows
AdGuardVPNForWindows copied to clipboard
High RAM consumption
Please answer the following questions for yourself before submitting an issue.
- [X] I checked the knowledge base and found no answer
- [X] I checked to make sure that this issue has not already been filed
AdGuard VPN version
2.4.0 (1475)
Environment
- OS: Windows 11 (23H2)
- Other network-level software: no
Which DNS server do you use?
Default
Custom DNS
No response
Use Wintun
- [ ] yes, I do
Issue Details
Steps to reproduce:
- Starting Adguard with connecting to Stockholm
- Watching YouTube via Yandex.Browser
- YouTube stops loading videos and the program starts "eating" RAM
- All system crashing with next error: Application pop-up: Windows - Low Virtual Memory : The system is running low on virtual memory. To ensure that Windows continues to function properly, increase the size of the virtual memory paging file. For more information, see the built-in help. P.S. RAM: 16GB; Pagefile: 8GB+16GB
Expected Behavior
No response
Actual Behavior
All applications and the system are crashing
Screenshots
Screenshot 1
Additional Information
No response
Hi @QuiXMaDe,
Unfortunately, we were unable to reproduce this issue on our end. Could you please try to record the application logs? We need them to diagnose and troubleshoot this issue.
Here's what we need you to do:
- Go to Settings → App settings → Logging level → Record everything.
- Reproduce the problem, then remember the exact time it happened.
- Open Support tab → Export logs and system info.
- Send the archive to [email protected]:
- include
[windows]keyword andISSUE_NUMBERin the subject of your email - specify the exact time when the issue occurred
@QuiXMaDe Could you please let us know if you were able to reproduce the issue and record the logs?
@AlexandrPkhm, Sent a letter to the address you provided.
@QuiXMaDe We need a memory dump of the affected processes for further investigation. To create a memory dump, please follow the steps described in our Knowledge Base article - How to create a dump file, but instead of the Adguard.exe process, please select the AdGuard VPN process, which consumes RAM.
Please send the generated dump to [email protected] and make sure to include [windows] keyword and ISSUE_NUMBER in the subject of your email.
@AlexandrPkhm I don't know whether the client provided you with a memory dump or not, but in my case (issue #782) the problem was cured by removing the Google search engine from the exceptions. When you add the Google search engine to the exceptions, it adds about 400 domains. I suspect that the service in this case does not have time to filter every request and starts mindlessly caching something.
@QuiXMaDe, hi! Could you please try this build and let us know if it helps? https://uploads.adguard.org/AdGuardVpn-v2.4.1622.2.exe
I have same issue with consumption and google exception too By comment suggestion ill remove it and watch consumption Usually crash happens after awake from sleep mode or using youtube I have full logs (if needed) P.S.: works perfectly
Screenshot
+1 To this one. Will remove google.com from the exclusions to try and see if it fixes anything. In my case it's happening sometimes right after I start the PC
Update: After 3 weeks of getting into high RAM consumption occasionally it now does it regularly, no matter the exclusions. Up to 5 times a day. Any ETA on the fix?
P.S. I've done some decompiling of the App DLLs with Jetbrains dotPeek (nothing criminal here - it doesn't show actual implementation source code, only interfaces) and it appears that a C# List is used for exclusion storage. I hope it gets converted to a HashSet at some point in the implementation before the need for filtering because if it's searching through a List then it's probably too slow for some other task and that's where it leaks probably
Hi everyone, Could you please try last nightly? There have been some changes in the native libraries that might potentially fix the problem.
I am closing the issue. If the high consumption occurs again, feel free to reopen it or create a new one.