AdGuardMiniForMac icon indicating copy to clipboard operation
AdGuardMiniForMac copied to clipboard

Memory footprint reduction

Open MineGene opened this issue 5 months ago • 7 comments

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.

Image Image Image

Proposed solution

Reduce memory footprint inline with comparable Safari browser extension ad blockers.

Alternative solution

No response

MineGene avatar Jun 10 '26 02:06 MineGene

Hi @MineGene, Thanks for the report. We're planning to fix this issue in one of the future versions.

dmitriivqa39 avatar Jun 10 '26 09:06 dmitriivqa39

Update - AdGuard Version 2.3.0 (1091) is currently using ~650mb at idle on macOS 27.0 Public Beta 2.

MineGene avatar Aug 10 '26 06:08 MineGene

Hello @MineGene. Memory consumption will be reduced in 3.0.0

forcomprehension avatar Sep 07 '26 11:09 forcomprehension

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
Image

ghost avatar Sep 27 '26 11:09 ghost

To echo the above, I'm seeing considerably lower usage by approximately 50% after stabilisation, with Safari not running.

MineGene avatar Sep 27 '26 20:09 MineGene

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.

forcomprehension avatar Sep 28 '26 07:09 forcomprehension

The work on this issue is done, the fix is included in macOS: AdGuard v3.0.

adguard-bot avatar Nov 24 '26 09:11 adguard-bot