multi-subject-render icon indicating copy to clipboard operation
multi-subject-render copied to clipboard

Memory Leak

Open gyattsoy opened this issue 3 years ago • 1 comments

The extension isn't freeing up V-RAM properly. I lose a little over 2GB every time I generate an Image until its completely filled up and I'm forced to restart the webui.

RuntimeError: CUDA out of memory. Tried to allocate 366.00 MiB (GPU 0; 8.00 GiB total capacity; 5.63 GiB already allocated; 0 bytes free; 6.95 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

gyattsoy avatar Jan 15 '23 05:01 gyattsoy

Can confirm

Z4urce avatar Mar 28 '23 20:03 Z4urce