# V_RAM_Saver: a node to get your VRAM and RAM back and avoid OOM — retained record

> Retained reddit record from reddit:comfyui.

Canonical: https://highsignal.app/data/records/13ac8c4182dbe6fc

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:comfyui)  published 2026-11-18 05:19 ingested 2026-11-19 02:39

[original source ↗](https://www.reddit.com/r/comfyui/comments/1xz6yw9/v_ram_saver_a_node_to_get_your_vram_and_ram_back/)

## retained text



```
Hello all, a little about myself. I have been using ComfyUI for more than 3 years. I started with SD1.5, right when SDXL was becoming popular. I left when Flux came out because it was very painful to run on my 6GB GPU, and came back when Wan2.2 became available for video generation. Models changed, and the only constant was my **OOM** errors.

I run sequential workflows, so keeping executed models in cache did not make much sense. Plus, a few additional seconds of loading would be a very good trade-off (to me) to avoid OOMs. Basically, instead of unloading/offloading to CPU, I wanted the model evicted to free up RAM for new data. My several searches for a solution did not yield meaningful results. I tried the existing unload/free-memory nodes (like ComfyUI-FreeMemory, ComfyUI-Unload-Model, ComfyUI\_DeleteModelPassthrough), but my PC crashed the moment the model left the GPU because it was still **offloaded** to CPU.

After one too many unloads instakilling my ComfyUI and sometimes hard-crashing my PC, I made a simple node that just wipes the weights outright, so nothing is copied to RAM. The model is gone, and you get your VRAM and RAM back. I have just stress-tested the workflow and could generate a 6 s 1080x1080 video **without OOM**. For reference, I could easily get OOM generating 480x480 if I had a few more browser tabs open. Again, maybe I am just reinventing the wheel, but this solution makes the whole process way more stress-resistant. If you want to give it a try, search for [**V\_RAM\_Saver**](https://registry.comfy.org/publishers/mirielz/nodes/comfyui-v-ram-saver).
 [**GitHub**](https://github.com/Mirielz/ComfyUI-V_RAM_Saver) (updated per request)

It has greatly improved my workflows, and I hope it can help many more people too. The code is open-sourced under the MIT license, and I am here for any comments, feedback, and suggestions.
```



document fetched 2026-11-19 00:42 · canonical https://reddit.com/r/comfyui/comments/1xz6yw9/v_ram_saver_a_node_to_get_your_vram_and_ram_back
