ComfyUI Node
π§ Memory Cleanup
Clear DRAM cache, VRAM, and CUDA cache. Use when switching workflows or freeing system RAM.
π§ Memory Cleanup
- memory_stats
- trigger
βunpin_all_vramtrueβΊ
βclear_dram_cachetrueβΊ
βclear_vramtrueβΊ
βclear_cuda_cachetrueβΊ
CategoryArchAi3d/Memory
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| unpin_all_vram | BOOLEAN | true | Remove all VRAM pins. Pinned models become eligible for auto-eviction again. |
| clear_dram_cache | BOOLEAN | true | Remove all models from DRAM cache. Forces disk reload on next use. |
| clear_vram | BOOLEAN | true | Unload all models from GPU VRAM. |
| clear_cuda_cache | BOOLEAN | true | Clear PyTorch CUDA cache to reclaim fragmented VRAM. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| memory_stats | STRING | Memory status after cleanup |
| trigger | * | Connect to next node to control execution order |