-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak #11510
Comments
@Alex-lsky Hello! I'm here to help you with any bugs, questions, or contributions. Let's work together to solve this issue. It seems like you're experiencing a memory leak issue with the Dify 'api' and 'work' containers, where memory usage continuously increases until it affects performance. Unfortunately, I couldn't find specific information about known memory leaks in the Dify documentation or previous issues. However, here are a few steps you might consider to address this problem:
If these steps do not resolve the issue, further investigation into the specific operations or code paths causing the memory increase may be necessary. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
I also encountered this problem. The memory kept increasing and I had to restart the container to solve it. My version is 0.13.1 |
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
…us#11700) Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Self Checks
Dify version
0.13.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
The memory footprint of dify,api, and work containers deployed with docker is always monotonically increasing, and memory is not released when calls are stopped, I have verified this issue in multiple versions (0.8-0.13.1) and in multiple environments (docker, k8s)
✔️ Expected Behavior
When the call is stopped, the memory usage drops
❌ Actual Behavior
The memory of the api and work is always growing until it takes up about 6G and the LLM call efficiency becomes so low that the container must be restarted to alleviate it
The text was updated successfully, but these errors were encountered: