OSError: [WinError 1455] The paging file is too small for this operation to complete (Windows paging file is too small)
Windows refuses memory because RAM and the paging file together are not enough for what the program is requesting.
The message
OSError: [WinError 1455] The paging file is too small for this operation to complete. (deutsch: Die Auslagerungsdatei ist zu klein, um diesen Vorgang durchzuführen.)
Why is this happening?
Windows can only commit as much memory as RAM and the paging file together allow (the so-called commit limit). When loading PyTorch or a large model, a lot of memory is briefly requested, even if Task Manager still shows free RAM. If the paging file is small or cannot grow because there is not enough free space on the drive, the process stops with this error.
How to fix it
- Close any programs you do not need right now (browser with many tabs, other AI programs), and try again.
- Make sure there is free space on the drive with the paging file (usually C:). Windows lets an automatically managed paging file grow to at most one eighth of the drive size.
- Open the paging file settings:
Win+R, entersysdm.cpl, tab „Advanced“ → under „Performance“ click „Settings…“ → tab „Advanced“ again → under „Virtual memory“ click „Change…“. - Uncheck „Automatically manage paging file size for all drives“, choose the drive with the most free space, then „Custom size“. Enter an initial and maximum value in MB (for example, with 16 GB RAM, 16384 and 32768), click „Set“ and „OK“.
- Restart the PC and try again. If the error continues, increase the value step by step.
- Less memory usage is the long-term fix: use smaller model variants (for example fp8 or GGUF instead of fp16) or add more RAM.
Better not: Do not turn off the paging file completely to save space — that is exactly when this error occurs.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Set up and maintain ComfyUI on Windows
Desktop or Portable, where the models belong, sharing models with other programs, safely installing custom nodes, updates, startup options … - Your First Image with ComfyUI
Install Comfy Desktop, learn the interface, and create your first AI image with FLUX.2 [small] 4B or Z-Image Turbo. - Your First AI Video with LTX in ComfyUI
Use LTX-2.3 in ComfyUI to create short videos with sound from text or an image. Template, files, settings, and license.
Terms for this
Similar errors
- CUDAExecutionProvider is not in available provider names (onnxruntime runs only on the CPU)
- No matching distribution found for torch (wrong Python version)
- No module named 'triton' on Windows (triton-windows missing)
- 'python' is not recognized or opens the Microsoft Store
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate – Python does not trust the certificate (often a company proxy or antivirus)
Sources
- https://discuss.pytorch.org/t/paging-file-problems-when-trying-to-import-torch/160373
- https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/how-to-determine-the-appropriate-page-file-size-for-64-bit-versions-of-windows
- https://runaihome.com/blog/comfyui-paging-file-too-small-os-error-1455-fix-2026/
- https://discourse.slicer.org/t/paging-file-is-too-small-error/27379
Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.