comfyanonymous / ComfyUI

The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.
GNU General Public License v3.0
41.37k stars 4.4k forks source link

GUI gets progressively laggy over time. #3748

Open TijuanaKez opened 2 weeks ago

TijuanaKez commented 2 weeks ago

Anyone know why the UI tends to slow down over time? I seem to have to restart the browser every hour or so as it starts to lock up. It happens in both Safari and Chrome, though chrome tends to work slightly better. I'm accessing the web interface of another machine (Ubuntu) on my network that's running ComfyUI.

eg. just dragging the interface, or typing in a box starts out instantaneous if the browser has just been opened. Then half hour later there's a second or so delay before it updates, then 2 seconds etc etc until eventually it's barely useable. Sometimes a browser refresh helps, other times I need to quite the. browser entirely and release it's ram, and start the Browser again. I can see also the browser starting to use huge amounts of ram when its in this slow state.

ltdrdata commented 2 weeks ago

I can't see your workflow, but if such issues are occurring even with a small amount of image previews, it means there is browser leak.