Memory footprint reduction
Issue Details
On macOS (MacBook with 8GB RAM), AdGuard’s total memory usage (Safari extension + menu bar/background app) is disproportionately high compared to similar ad-blocking solutions.
Memory consumption is split across:
- Safari extension component
- Menu bar/background application
Combined usage is typically around ~350MB in normal browsing conditions with standard filter lists enabled. This is significantly higher than comparable lightweight extensions. For example, uBlock Origin Lite operates at under ~20MB with equivalent filtering configurations, while still providing effective ad blocking.
The issue is that AdGuard’s total memory footprint (Safari extension + menu bar/background application) remains relatively high as a baseline, even when browsing activity is light. Memory usage does not appear to scale proportionally with active tab load or filtering demand, which results in unnecessary pressure on system memory. On 8GB machines this contributes to increased swap usage and reduced overall system responsiveness.
Proposed solution
Reduce memory footprint inline with comparable Safari browser extension ad blockers.
Alternative solution
No response
Hi @MineGene, Thanks for the report. We're planning to fix this issue in one of the future versions.
Update - AdGuard Version 2.3.0 (1091) is currently using ~650mb at idle on macOS 27.0 Public Beta 2.
Hello @MineGene. Memory consumption will be reduced in 3.0.0
Here's what it currently looks like with Safari running (but no windows or tabs open) on AdGuard Mini 3.0.0 (1111), running macOS 27.2 Beta 2 (26B5091g).
About ~215mb.
Screenshot
To echo the above, I'm seeing considerably lower usage by approximately 50% after stabilisation, with Safari not running.
15 seconds after closing all windows, certain processes will be terminated and some memory will be returned to the OS. Also, if you never open any windows and use AGMini as a service, no excess memory will be consumed.
The work on this issue is done, the fix is included in macOS: AdGuard v3.0.