Error5 reports
Fix OutOfMemoryError
in ComfyUI
✅ Solution
OutOfMemoryError in ComfyUI typically arises from excessive memory consumption by large models, high-resolution images, or accumulating intermediate results. Reduce batch sizes, lower image resolutions, offload models to CPU when not in use via the "unload model" node, and periodically clear the ComfyUI queue. Consider using optimized models with lower memory footprints and enabling VAE tiling if applicable.
Related Issues
Real GitHub issues where developers encountered this error:
Cumulative system RAM leak requiring full PC restart on RTX 5070 (Blackwell) with Wan2.2 GGUF (Q4/Q8), multiple runsJan 10, 2026
Enhancement on VRAM (and maybe RAM?) handling between samplers on LTX 2 comfy native workflowJan 8, 2026
Qwen has been bloken ! (T2I + Reference Image)Jan 6, 2026
NunchakuQwenImageTransformer2DModel._forward() got multiple values for argument 'guidance'Dec 20, 2025
ComfyUI Memory Calculation Bug with PatchDec 15, 2025
Timeline
First reported:Dec 15, 2025
Last reported:Jan 10, 2026