Not Enough Storage Available to Process This Command: Fix
In this article
“Not enough storage is available to process this command” is a Windows error that appears when the system runs out of a specific type of memory or resource, not necessarily your hard drive space. The fix usually involves freeing up RAM, closing programs, or adjusting a registry setting called IRPStackSize; below are the exact steps and background you need.
What This Error Actually Means
This message is a system-level error, not a typical “disk full” warning. Windows throws it when a request for memory or an internal resource fails. The most common triggers are:
- Low RAM or virtual memory – the system cannot allocate enough memory for the command.
- Exhausted non-paged pool – a kernel memory area used by drivers; leaks can fill it.
- IRPStackSize too small – a registry value that limits the size of I/O request packets for certain devices (often network or storage).
- Too many open handles or processes – each program consumes system resources.
It often appears when copying large files, running backup software, or using network shares, but it can happen in any application.
First Steps: Free Up Memory and Close Programs
Before changing system settings, try the simplest fixes:
- Close unnecessary applications, especially browsers with many tabs and resource-heavy programs like video editors.
- Restart your computer – this clears the non-paged pool and resets all handles.
- Check Task Manager (Ctrl+Shift+Esc) under the “Performance” tab. If “Memory” is above 90%, close more programs or add RAM if possible.
- Run a disk cleanup to free up space on the system drive – Windows needs some free space for virtual memory and temporary files.
If the error persists, move to the registry fix below.
Adjusting the IRPStackSize Registry Value
The IRPStackSize value controls how much memory Windows reserves for I/O request packets, which drivers use to communicate with hardware. If it’s too low, commands to devices (like network adapters or storage controllers) fail with this exact error.
To change it:
- Press Win+R, type
regedit, and press Enter. - Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters. - Look for a DWORD named
IRPStackSize. If it doesn’t exist, right-click in the right pane, select New → DWORD (32-bit) Value, and name itIRPStackSize. - Double-click it, select Decimal, and enter a value between 15 and 50. The default is usually 15; try 20 or 25 first.
- Click OK and restart your computer.
This setting primarily affects network and storage drivers. If the error occurs during network transfers, this is a common fix. If it happens during local file operations, the issue is more likely memory-related.
Check for Memory Leaks and Driver Issues
A memory leak in a driver can fill the non-paged pool over time, causing this error even with plenty of RAM available. To check:
- Open Task Manager and go to the “Details” tab. Look for processes with high memory usage that keep climbing.
- Use the built-in Resource Monitor (type
resmonin Run) and check the “Memory” tab for “Non-paged pool” usage. If it’s growing steadily, a driver is likely leaking. - Update your drivers, especially for network adapters, storage controllers, and graphics cards. Outdated drivers are a common cause.
- Run
sfc /scannowin an elevated Command Prompt to repair system files that might be corrupted.
If you recently installed new hardware or software, uninstall it to see if the error stops.
Increase Virtual Memory (Page File)
Virtual memory extends your RAM by using a file on your hard drive. If the page file is too small, Windows may not have enough virtual memory to allocate, causing this error.
- Open System Properties (right-click This PC → Properties → Advanced system settings).
- Under the “Advanced” tab, click Settings in the Performance section.
- Go to the “Advanced” tab and click Change under Virtual memory.
- Uncheck “Automatically manage paging file size for all drives.”
- Select your system drive (usually C:), choose Custom size, and set Initial and Maximum size to a value like 1.5 times your RAM (e.g., 8 GB RAM → 12288 MB).
- Click Set, then OK, and restart.
Be careful not to set the page file too small – Windows needs it for many operations. If you have multiple drives, you can place the page file on a faster SSD.
When to Consider Hardware Upgrades
If the error occurs frequently and you’ve tried all software fixes, your system may simply lack enough RAM for your workload. For example, editing 4K video or running virtual machines on a machine with 4 GB of RAM will consistently hit this limit. Upgrading to 16 GB or more is a practical solution for modern multitasking.
Also check if your system drive is nearly full. Windows needs free space for temporary files and virtual memory; keeping at least 15% of the drive free is a good rule of thumb.
Frequently Asked Questions
Why does this error appear even though I have free disk space?
Because it’s not about disk space. It’s about RAM, virtual memory, or kernel resources. The error message is misleadingly similar to “insufficient storage,” but it refers to memory storage, not your hard drive.
Is it safe to change the IRPStackSize value?
Yes, if you follow the steps correctly. The value only affects how much memory Windows reserves for I/O request packets. Setting it too high (above 50) can waste memory, but it won’t damage your system. Always restart after changing it.
Will this error corrupt my files?
No, the error usually prevents the operation from starting or completing, but it doesn’t corrupt existing files. However, if you’re copying files and the error occurs mid-copy, the destination file may be incomplete. It’s safe to delete and retry.
Does this error affect Windows 11 and Windows 10 the same way?
Yes, the error and its fixes are the same on both. The registry path and Task Manager steps are identical. Windows 11 has the same memory management architecture.
Can a virus cause this error?
In rare cases, malware can consume system resources or modify registry values. If you suspect malware, run a full scan with Windows Defender or another reputable antivirus. But the error is more commonly caused by legitimate software or driver issues.
What if the error only happens with one specific program?
Try reinstalling that program. It may have a memory leak or be requesting an excessively large buffer. Also check if the program has an update that fixes the issue.