Skip to content
English
  • There are no suggestions because the search field is empty.

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)

  1. Open Group Policy Editor
    • Press Windows + R
    • Type gpedit.msc
    • Click OK
  2. Navigate to Delivery Optimization Policy
    • Go to: Computer Configuration → Administrative Templates → Windows Components → Delivery Optimization
  3. Disable the Service
    • Double-click on "Download Mode"
    • Select "Enabled"
    • In the dropdown menu, select "Bypass (100)"
    • Click Apply, then OK
  4. 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.

  1. Open Registry Editor
    • Press Windows + R
    • Type regedit
    • Click OK (accept UAC prompt)
  2. 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
  3. 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
  4. Restart the Computer

Method 3: Windows Settings (Limited Disable)

This method limits but doesn't fully disable Delivery Optimization:

  1. Open Windows Settings
    • Press Windows + I
    • Go to "Update & Security"
  2. Access Delivery Optimization
    • Click "Delivery Optimization"
    • Click "Advanced options"
  3. Limit Bandwidth
    • Toggle off "Allow downloads from other PCs"
    • Or set bandwidth limits to minimum values

Method 4: Service Disable (Advanced)

  1. Open Services
    • Press Windows + R
    • Type services.msc
    • Click OK
  2. Locate Delivery Optimization Service
    • Find "Delivery Optimization" in the list
    • Right-click → Properties
  3. Disable the Service
    • Set Startup type to "Disabled"
    • Click Stop (if service is running)
    • Click Apply, then OK
  4. Restart the Computer

Verification Steps

After applying the fix:

  1. Check Memory Usage
    • Open Task Manager (Ctrl + Shift + Esc)
    • Monitor memory usage over 24-48 hours
    • Look for improvement in baseline memory consumption
  2. Verify Service Status
    • Open Services (services.msc)
    • Confirm "Delivery Optimization" shows as "Disabled" or "Stopped"
  3. 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:

  1. Check for pending Windows Updates
    • Install all available updates
    • Restart system
  2. Run Windows Memory Diagnostic
    • Press Windows + R
    • Type mdsched.exe
    • Choose restart option
  3. 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