Fix ComfyUI High RAM Usage: Disable Pinned Memory

Better-Interview-793 · reddit · 2026-08-24

A user running large models like MiniMax H3 locally faced excessive RAM usage (25GB) and hostbuffer crash errors. By adding the --disable-pinned-memory flag when launching ComfyUI, the issues were completely resolved.

This change significantly reduced memory usage, eliminated errors, and surprisingly made generation faster and smoother. It's a recommended fix for anyone running large models and experiencing similar high RAM usage or crashes.

Original post →

More from coding & agent

coding & agent channel →