The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(comfyui): actionable hint for Windows paging-file-too-small (os error 1455)
purpled53a603ad479
diff --git a/src/api/__tests__/vram-handoff.test.ts b/src/api/__tests__/vram-handoff.test.tsindex ac9111c7..dbf64cb2 100644--- a/src/api/__tests__/vram-handoff.test.ts+++ b/src/api/__tests__/vram-handoff.test.ts@@ -265,6 +265,14 @@ describe('comfyErrorHint', () => {expect(comfyErrorHint(undefined, undefined, 'CUDA out of memory')).toMatch(/GPU memory/i)})+ it('Windows pagefile too small (os error 1455) → virtual-memory advice, not an LU bug (#61)', () => {+ const h = comfyErrorHint('CLIPLoader', undefined, 'The paging file is too small for this operation to complete. (os error 1455)')+ expect(h).toMatch(/virtual memory|page file/i)+ expect(h).toMatch(/not a Locally Uncensored bug/i)+ // matches on the bare os-error code too, regardless of node+ expect(comfyErrorHint(undefined, undefined, 'os error 1455')).toMatch(/virtual memory/i)+ })+it('unknown error → no hint (verbatim error stands alone)', () => {expect(comfyErrorHint('KSampler', 'ValueError', 'something weird')).toBe('')})diff --git a/src/api/vram-handoff.ts b/src/api/vram-handoff.tsindex 3560ce01..d11b5e7a 100644--- a/src/api/vram-handoff.ts+++ b/src/api/vram-handoff.ts@@ -1137,6 +1137,13 @@ export function comfyErrorHint(nodeType: string | undefined, _excType: string |if (m.includes('out of memory') || m.includes('outofmemory') || _excType === 'torch.OutOfMemoryError') {return 'Ran out of GPU memory. Try a shorter clip / lower resolution, set VRAM hand-off to "always" in Settings so the chat model is evicted first, or pick a lighter model.'}+ // Windows "paging file is too small" (os error 1455, bear5real0o0 GH #61):+ // ComfyUI couldn't commit enough memory while loading a node (often the text+ // encoder / CLIPLoader) because the OS ran out of RAM + pagefile. This is a+ // Windows virtual-memory setting, not an LU bug — point the user at the fix.+ if (m.includes('paging file') || m.includes('os error 1455')) {+ return 'Windows ran out of virtual memory while loading the model (its paging file is too small). This is a Windows setting, not a Locally Uncensored bug. Let Windows manage the page file, or raise it: Settings → System → About → Advanced system settings → Performance → Settings → Advanced → Virtual memory → Change, set a larger custom size, then reboot. Closing other heavy apps or picking a smaller model also helps.'+ }return ''}