Out Of Memory issue related to Delivery optimization
Problem: Windows Delivery Optimization service causing memory leak issues Affected Update: Windows KB5072033 and related updates Impact: System slowdowns, high memory usage, potential system instability Solution: Disable Delivery Optimization feature
Knowledge Base Article: Disabling Delivery Optimization to Resolve Memory Leak (KB5072033)
Issue Overview
Problem: Windows Delivery Optimization service causing memory leak issues Affected Update: Windows KB5072033 and related updates Impact: System slowdowns, high memory usage, potential system instability Solution: Disable Delivery Optimization feature
What is Delivery Optimization?
Delivery Optimization is a Windows peer-to-peer distribution method that downloads Windows updates and apps from multiple sources (both Microsoft servers and other PCs on your local network or internet) to speed up downloads and reduce bandwidth usage.
Resolution Steps
Method 1: Group Policy Editor (Windows Pro/Enterprise)
- Open Group Policy Editor
- Press
Windows + R - Type
gpedit.msc - Click OK
- Press
- Navigate to Delivery Optimization Policy
- Go to:
Computer Configuration → Administrative Templates → Windows Components → Delivery Optimization
- Go to:
- Disable the Service
- Double-click on "Download Mode"
- Select "Enabled"
- In the dropdown menu, select "Bypass (100)"
- Click Apply, then OK
- Restart the Computer
- Required for changes to take effect
Method 2: Registry Edit (All Windows Versions)
⚠️ Warning: Editing the registry can cause system issues if done incorrectly. Create a backup first.
- Open Registry Editor
- Press
Windows + R - Type
regedit - Click OK (accept UAC prompt)
- Press
- Navigate to Registry Key
- Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization - If the key doesn't exist, create it:
- Right-click on
Windows→ New → Key - Name it
DeliveryOptimization
- Right-click on
- Go to:
- Create/Modify DWORD Value
- Right-click in the right pane → New → DWORD (32-bit) Value
- Name it
DODownloadMode - Double-click it and set Value data to
100 - Click OK
- Restart the Computer
Method 3: Windows Settings (Limited Disable)
This method limits but doesn't fully disable Delivery Optimization:
- Open Windows Settings
- Press
Windows + I - Go to "Update & Security"
- Press
- Access Delivery Optimization
- Click "Delivery Optimization"
- Click "Advanced options"
- Limit Bandwidth
- Toggle off "Allow downloads from other PCs"
- Or set bandwidth limits to minimum values
Method 4: Service Disable (Advanced)
- Open Services
- Press
Windows + R - Type
services.msc - Click OK
- Press
- Locate Delivery Optimization Service
- Find "Delivery Optimization" in the list
- Right-click → Properties
- Disable the Service
- Set Startup type to "Disabled"
- Click Stop (if service is running)
- Click Apply, then OK
- Restart the Computer
Verification Steps
After applying the fix:
- Check Memory Usage
- Open Task Manager (
Ctrl + Shift + Esc) - Monitor memory usage over 24-48 hours
- Look for improvement in baseline memory consumption
- Open Task Manager (
- Verify Service Status
- Open Services (
services.msc) - Confirm "Delivery Optimization" shows as "Disabled" or "Stopped"
- Open Services (
- Check Windows Update Functionality
- Go to Settings → Update & Security → Windows Update
- Click "Check for updates"
- Verify updates still download (just slower, from Microsoft servers only)
Important Notes
Trade-offs:
- Updates will download only from Microsoft servers
- Update downloads may be slower
- Uses more internet bandwidth (no peer sharing)
Best for:
- Systems experiencing memory leaks
- Environments where bandwidth isn't a concern
- Controlled IT environments with specific update management
Alternative Consideration:
- If managing multiple PCs, consider using WSUS (Windows Server Update Services) instead for centralized update management
Additional Troubleshooting
If memory leak persists after disabling Delivery Optimization:
- Check for pending Windows Updates
- Install all available updates
- Restart system
- Run Windows Memory Diagnostic
- Press
Windows + R - Type
mdsched.exe - Choose restart option
- Press
- Check for other KB-related issues
- Research specific KB5072033 issues
- Consider uninstalling/reinstalling the update if necessary
Related Information
KB Reference: KB5072033 Services Affected: Delivery Optimization (DoSvc) Registry Location: HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization Related Settings: Windows Update, Network Bandwidth Management