blob42 6f4d889053
feat: add --total-ram option for controlling visible system RAM in Comfy
Adds a new command-line argument `--total-ram` to limit the amount of
system RAM that ComfyUI considers available, allowing users to simulate
lower memory environments. This enables more predictable behavior when
testing or running on systems with limited resources.

Rationale:

I run Comfy inside a Docker container. Using `mem_limit` doesn't hide
total system RAM from Comfy, so OOM can occur easily. Cache pressure
limits cause frequent out-of-memory errors. Adding this flag allows
precise control over visible memory.

Signed-off-by: blob42 <contact@blob42.xyz>
2025-11-27 16:29:38 +01:00
..
2025-11-25 18:41:45 -05:00
2024-06-27 18:43:11 -04:00
2025-11-25 18:41:45 -05:00
2025-09-02 15:36:22 -04:00
2025-01-24 06:15:54 -05:00
2025-07-06 07:07:39 -04:00
2025-11-25 10:50:19 -05:00
2025-09-15 18:10:55 -04:00
2025-11-25 18:41:45 -05:00
2025-10-25 23:07:29 -04:00
2025-11-25 18:41:45 -05:00