← sources

RelayVSR runs out of RAM when rendering longer videos – Is there a way to process videos in chunks automatically?

source: reddit (reddit:StableDiffusion)published 2026-11-18 12:02ingested 2026-11-19 02:37

retained text

I'm using RelayVSR through ComfyUI workflows, and I can render a 10-second video in about 16 minutes.

However, when I try to process longer videos, I run into issues during the decoding stage. System RAM usage keeps increasing, the process gets progressively slower, and eventually I run into problems.

I have two questions:

1. Is there any way to prevent this excessive RAM usage during decoding, or manage memory more efficiently?
2. If not, is there a workflow that can automatically split a longer video (for example, a 4-minute video) into 10-second segments, process each segment separately, and then merge everything back into a single video?

I can do this manually, but I'd like to automate the process as much as possible to reduce the workload.

Any suggestions, workflows, or tips would be greatly appreciated!

System  
32gb system ram  
3060 ti 8gb vram  
ryzen 5 5600

document fetched 2026-11-19 00:31 · canonical https://reddit.com/r/StableDiffusion/comments/1xzdj8r/relayvsr_runs_out_of_ram_when_rendering_longer