⚠️ 3 verified solutions available for Error 13859 — Last updated 2026-03-13
Error 13859 📋

Fix ERROR_IPSEC_IKE_OUT_OF_MEMORY — Windows Error Code 13859

Error 13859 (ERROR_IPSEC_IKE_OUT_OF_MEMORY) is a Windows Internet & WinHTTP error that occurs when memory allocation failed.. This guide provides step-by-step solutions to resolve this issue.

🏷️ Code: 13859 📛 ERROR_IPSEC_IKE_OUT_OF_MEMORY 📅 Updated: 2026-03-13 ⏱️ 3 Solutions

🎮 Common Scenario: Are you experiencing Error 13859 while launching or installing Roblox? The solutions below directly address the system interactions specific to this application.

Quick Fix

Increase Virtual Memory (Page File): Press Win+R, type sysdm.cpl, press Enter

👇 See all 3 solutions below

The Ultimate Auto-Fix Script

Download our advanced, custom-built Smart Diagnostic Script (.bat). It safely creates a System Restore Point, applies targeted fixes based on advanced diagnostics for Error 13859, and generates a detailed HTML repair report.

Safe & Verified Restore Point Protected HTML Report Included
⚠️
CRITICAL INSTRUCTION: Once downloaded, you MUST right-click the file and select "Run as Administrator". If opened normally, it will not function.

💡 What is Error 13859?

Windows System Error Code 13859, known as ERROR_IPSEC_IKE_OUT_OF_MEMORY, is a Internet & WinHTTP error that occurs during WinHTTP, WinInet, and internet protocols. The error indicates that: Memory allocation failed. When this error is encountered, the Windows operating system was unable to complete the requested operation within the internet services subsystem. The error code 13859 is returned by the GetLastError() function and provides developers with a specific identifier to diagnose the root cause of the failure. The symbolic name ERROR_IPSEC_IKE_OUT_OF_MEMORY maps directly to this numeric code and is commonly referenced in Microsoft documentation, developer forums, and system logs. Understanding this error and its context within WinHTTP, WinInet, and internet protocols is essential for effective troubleshooting.

⚠️ Common Causes

  • A running application has a memory leak consuming all available RAM
  • The system page file (virtual memory) is too small or disabled
  • Too many applications are running simultaneously
  • A driver is consuming excessive kernel memory (nonpaged pool)

Step-by-Step Solutions

1 Increase Virtual Memory (Page File)
  1. Press Win+R, type sysdm.cpl, press Enter
  2. Go to Advanced tab → Performance Settings → Advanced → Virtual Memory → Change
  3. Uncheck 'Automatically manage paging file size'
  4. Select your system drive, choose 'Custom size'
  5. Set Initial size to 1.5x your RAM, Maximum to 3x your RAM (e.g., 12288 / 24576 for 8GB RAM)
  6. Click Set → OK → Restart your computer
Advertisement
[AdSense In-Article Ad Generator]
Show Advanced Solutions (2 more)
2 Identify Memory-Hungry Processes
  1. Press Ctrl+Shift+Esc to open Task Manager
  2. Click 'More details' if needed, then sort by Memory column
  3. Identify processes using excessive memory (>1GB is suspicious)
  4. Right-click the process → End Task (save your work first)
  5. If a process consistently leaks memory, check for updates or reinstall it
3 Check for Memory Leaks with RAMMap
  1. Download RAMMap from Microsoft Sysinternals (free tool)
  2. Run RAMMap and check the 'Use Counts' page for unusually large allocations
  3. If 'Nonpaged Pool' is very large, a driver has a memory leak
  4. Run: poolmon.exe to identify which driver tag is consuming pool memory
  5. Update or uninstall the offending driver

🎬 Video Tutorials

▶️ Watch Video Tutorials
How To Fix Internet Connection Error Windows
Open on YouTube →

💻 Diagnostic Command

Run this PowerShell command to find related events in your system log:

Get-EventLog -LogName System -Newest 20 | Where-Object {$_.Message -like "*13859*" -or $_.Message -like "*ERROR_IPSEC_IKE_OUT_OF_MEMORY*"} | Format-List

💡 Open PowerShell as Administrator, paste the command above, and press Enter.

🛡️ Prevention Tips

  • Monitor memory usage with Task Manager and set alerts for >85% usage
  • Keep your page file on an SSD for faster virtual memory performance
  • Close unused browser tabs and applications before running heavy software
Was this helpful?
Last updated: 2026-03-13
📖
Based on Official Microsoft Documentation
Solutions Tested on Windows 10 & 11
Error codes sourced from Microsoft Win32 SDK. Updated 2026-03-13.
🔧 Diagnose Your Error