Open in the explorer

Set limit on megabytes of memory a single Microsoft Edge instance can use

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge User Configuration › Policies › Administrative Templates › Microsoft Edge
Supported on
Microsoft Edge version 80, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/TotalMemoryLimitMb

Explanation

Configures the amount of memory that a single Microsoft Edge instance can use before tabs start getting discarded to save memory. The memory used by the tab will be freed and the tab will have to be reloaded when switched to.

If you enable this policy, the browser starts to discard tabs to save memory once the limitation is exceeded. However, there's no guarantee that the browser is always running under the limit. Any value under 1024 is rounded up to 1024.

If you don't set this policy, the browser only attempts to save memory when it has detected that the amount of physical memory on its machine is low.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: msedge/TotalMemoryLimitMb
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set memory limit for Microsoft Edge instances
Set-ItemProperty -Path $k -Name 'TotalMemoryLimitMb' -Value 1024 -Type DWord  # between 1024 and 2000000000

Disable

# Disable: msedge/TotalMemoryLimitMb
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/TotalMemoryLimitMb
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'TotalMemoryLimitMb' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Set memory limit for Microsoft Edge instances:TotalMemoryLimitMbNumeric boxdecimalTotalMemoryLimitMbREG_DWORD
Min: 1024 · Max: 2000000000

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.