-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[BUG] Memory leak in 0.30 (with Pangolin) - RAM usage continuously growing over time #2344
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingpri/highHigh priority issueHigh priority issuestatus/approvedThis issue is ready to be implementedThis issue is ready to be implemented
Description
Describe the Bug
I've been experiencing a memory leak issue with Karakeep container for the past few weeks. The RAM usage continuously grows over time until it becomes problematic.
My Environment
- Deployment: Docker container
- Platform: Unraid server (i5-9600, 32GB RAM)
Current Behavior
- Memory usage steadily increases over time
- The issue persists across multiple weeks of operation
- Container restart temporarily resolves the issue, but the problem reoccurs
- After restart, memory usage starts growing again
- Logs show repeated 500 errors on
bookmarks.searchBookmarksendpoint
Logs:
Recent logs show repeated 500 error when searching bookmarks:
2026-01-04T10:09:16.083Z info: --> GET /api/trpc/bookmarks.searchBookmarks?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22text%22%3A%22url%3Ahttps%3A%2F%2Fclaude.ai%2Fchat%2Fd5x156e-ea93-xe7d-bxc5-dxxx8cee74d9%22%7D%7D%7D 500 4ms
2026-01-04T10:09:37.707Z info: --> GET /api/trpc/bookmarks.searchBookmarks?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22text%22%3A%22url%3Ahttps%3A%2F%2Fclaude.ai%2Fchat%2Fd5x156e-ea93-xe7d-bxc5-dxxx8cee74d9%22%7D%7D%7D 500 3ms
2026-01-04T10:09:54.052Z info: --> GET /api/trpc/bookmarks.searchBookmarks?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22text%22%3A%22url%3Ahttps%3A%2F%2Fclaude.ai%2Fchat%2Fd5x156e-ea93-xe7d-bxc5-dxx8cee74d9%22%7D%7D%7D 500 2ms
Health checks return 200 OK, but bookmark search operations consistently fail with 500 error.
Steps to Reproduce
- Start Karakeep container
- Monitor RAM usage over several days/weeks
- Observe continuous memory growth
Expected Behaviour
Memory usage should remain stable over time without requiring periodic restarts.
Screenshots or Additional Context
Device Details
No response
Exact Karakeep Version
v0.30.0
Have you checked the troubleshooting guide?
- I have checked the troubleshooting guide and I haven't found a solution to my problem
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpri/highHigh priority issueHigh priority issuestatus/approvedThis issue is ready to be implementedThis issue is ready to be implemented