mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
issue: Memory Leak when uploading files to Knowledge #5326
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FringeNet on GitHub (May 26, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.10
Ollama Version (if applicable)
v0.7.1
Operating System
Ubuntu 24.04
Browser (if applicable)
Brave v1.78.102
Confirmation
README.md.Expected Behavior
Memory usage should return to normal after uploading 2GB worth of docx, xlsx and pdf files.
Actual Behavior
Memory usage increases, and freezes my EC2 instance when it goes OOM. Increased the size of the instance to finish my task (4GB -> 32GB), but memory did not return to normal until I rebooted the container. It settled on ~18GB
Steps to Reproduce
Logs & Screenshots
This repeated for a few files:
Network times out while uploading after the instance freezes.
Additional Information
I am not sure how to recover the logs of the previous container since the instance is freezing and the container is being restarted, and trying to view them live is impossible since I cannot access the instance after it freezes.
@tjbck commented on GitHub (May 26, 2025):
Use an external embedding engine.