Lightning-Universe/stable-diffusion-deploy

As the app runs, the amount of memory available becomes less and less

LiuRJun opened this issue · 0 comments

I started the application, and then started sending post requests continuously. Over time that the amount of available memory becomes less and less. After a few hours, memory availability approaches zero. Finally, the app report an error, the mean is no memory to allocate.

The hardware configuration of my computer is as follows:
GPU:NVIDIA Geforce 3090
GPU memory: 24G
CPU: 10 core
memory: 40G
In this program, I set the max_worker is 4

I found that the memory availability is less and less I do not send any requests. this chart is follows:

image