Getting more out of layerutility - purgevram in ComfyUI

If you're tired of seeing that dreaded "Out of Memory" error right as your render hits 95%, setting up layerutility: purgevram might just be the quickest fix you'll find today. We've all been there—you're running a complex workflow with three ControlNets, an IPAdapter, and maybe a high-res upscale, and suddenly everything grinds to a halt. It's frustrating, especially when you know your GPU should be able to handle it if it just cleared out the junk from the last run. ...

May 23, 2026 · 6 min · Boufeas Gregory