App crashes after some days, probably memory leak? #3445
Unanswered
leondape
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
Review the logs on app startup, user sessions can lead to memory leaks. It does use in-memory caching for a lot of operations. The best to do in production is to use Redis, which is already integrated with LibreChat and solves this. Disabling terminal logging also helps. However, I'll review how the memory allotment can be improved. In general, minimum is 1GB of RAM but it's recommend to use 2 GB of RAM. I use 2gb and never run into this issue using vanilla docker. i can go months with it running but I usually update once or twice a week. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
I had the app crashing after 1-2 weeks. Restart fixes it. Today i could retrieve a log for the first time.
I can hardly remember, but I thought I catched up memory leaks mentioned somewhere in the terminal, but I am not sure in what context I read about a memory leak warning.
Steps to Reproduce
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions