You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I commonly exit the Stable Diffusion Web UI using Control+C and have noticed a recurring problem. After exiting and then restarting the Web UI, Python occupies approximately 10GB of memory even though no tasks are running. If I switch the checkpoint to a different one than was used prior to exiting, the idle memory usage slightly decreases.
I have tried reinstalling Stable Diffusion Web UI, and indeed there were no issues upon the initial launch. That's why I said the problem occurs after exiting with Control+C
Environment:
OS: macOS 14
Chip: Apple M3 Max
Memory: 128GB
Steps to Reproduce:
Launch Stable Diffusion Web UI.
Generate an image.
Exit the application by pressing Control+C.
Reopen the application.
Expected Behavior:
Upon reopening, memory usage should be minimal when no tasks are active.
Actual Behavior:
About 10GB of memory is occupied by the Python process with no active tasks, affecting system performance and resource management.
Additional Information:
Upon exiting, messages similar to the following are displayed (each time slightly different but similar, all indicating that something was not cleaned up properly, though I'm not sure how to clean it):
^CInterrupted with signal 2 in <frame at 0x3545dabd0, file '/opt/homebrew/Cellar/[email protected]/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py', line 324, code wait> user@MacBook-Pro stable-diffusion-webui % /opt/homebrew/Cellar/[email protected]/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
Could someone please assist with this issue? Any advice on how to ensure all resources are properly released upon exit would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I commonly exit the Stable Diffusion Web UI using Control+C and have noticed a recurring problem. After exiting and then restarting the Web UI, Python occupies approximately 10GB of memory even though no tasks are running. If I switch the checkpoint to a different one than was used prior to exiting, the idle memory usage slightly decreases.
I have tried reinstalling Stable Diffusion Web UI, and indeed there were no issues upon the initial launch. That's why I said the problem occurs after exiting with Control+C
Environment:
OS: macOS 14
Chip: Apple M3 Max
Memory: 128GB
Steps to Reproduce:
Launch Stable Diffusion Web UI.
Generate an image.
Exit the application by pressing Control+C.
Reopen the application.
Expected Behavior:
Upon reopening, memory usage should be minimal when no tasks are active.
Actual Behavior:
About 10GB of memory is occupied by the Python process with no active tasks, affecting system performance and resource management.
Additional Information:
Upon exiting, messages similar to the following are displayed (each time slightly different but similar, all indicating that something was not cleaned up properly, though I'm not sure how to clean it):
^CInterrupted with signal 2 in <frame at 0x3545dabd0, file '/opt/homebrew/Cellar/[email protected]/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py', line 324, code wait> user@MacBook-Pro stable-diffusion-webui % /opt/homebrew/Cellar/[email protected]/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
Could someone please assist with this issue? Any advice on how to ensure all resources are properly released upon exit would be greatly appreciated.
Many thanks !
Beta Was this translation helpful? Give feedback.
All reactions