Skip to main content

Steps to Resolve Memory Growth Issues

  1. Install Dependencies
  1. Set Environment Variable Before Launching WebUI Verify the existence of libtcmalloc.so.4 using:
If found, set the environment variable:
  1. Launch WebUI
After setting the environment variable, start the WebUI:
Source This solution is derived from Discussion “Linux - Use tcmalloc for memory management for slight speed boost and much, MUCH lower CPU memory leakage” #6722 on the AUTOMATIC1111 SD WebUI GitHub repository.