[GH-ISSUE #8234] Memory not released after load testing #69652

Closed
opened 2026-05-13 01:57:14 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @jeeteshchel on GitHub (Dec 31, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8234

Bug Report: Memory Utilization Issue After Load Test

Installation Method

Docker

Environment

  • **Open WebUI Version: v0.5.1
  • **Operating System: Ubuntu 24.04 LTS
  • **Browser (if applicable): Chrome Version 131.0.6778.205 (Official Build) (64-bit)

Expected Behavior

As part of load test, user creates a new chat and submits a large text message (size 7816 KB). After submitting the large chat message and deleting the associated conversation, the application's memory utilization should return to its pre-load test levels.

Actual Behavior

After the load test ends and the conversation containing the large chat message is deleted, the application's memory utilization remains at levels consistent with the load test, indicating potential memory retention or improper release.


Description

Bug Summary

Memory usage increases significantly after posting a large message and does not return to normal levels even after deleting the conversation.

Behavior Details

Before Posting a Large Chat Message

  • Memory consumption is within normal parameters.
    Before Posting Memory Usage

After Posting a Large Chat Message

  • Memory usage increases substantially with a message size of 7816 KB.
    After Posting Memory Usage 1
    After Posting Memory Usage 2

After Deleting the Large Chat Message

  • Memory usage does not decrease and remains at elevated levels.
    After Deletion Memory Usage 1
    After Deletion Memory Usage 2

After Rebooting the Application

  • Memory usage resets to normal, suggesting that the issue lies in runtime memory management.
    After Reboot Memory Usage 1
    After Reboot Memory Usage 2

Reproduction Details

Steps to Reproduce

  1. Post a large chat message (size: 7816 KB).
  2. Delete the conversation containing the large chat message.
  3. Observe memory utilization via monitoring tools.
  4. (Optional) Reboot the application and observe memory utilization.

Logs and Screenshots

Docker Container Logs

I didn't capture it but I can provide that if needed.

Screenshots

Included above.


Additional Information

  • This issue appears to be related to runtime memory management.
  • Rebooting the application resets memory usage, suggesting the problem is not due to persistent storage.

Originally created by @jeeteshchel on GitHub (Dec 31, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8234 # Bug Report: Memory Utilization Issue After Load Test ## Installation Method Docker ## Environment - **Open WebUI Version: v0.5.1 - **Operating System: Ubuntu 24.04 LTS - **Browser (if applicable): Chrome Version 131.0.6778.205 (Official Build) (64-bit) --- ## Expected Behavior As part of load test, user creates a new chat and submits a large text message (size 7816 KB). After submitting the large chat message and deleting the associated conversation, the application's memory utilization should return to its pre-load test levels. ## Actual Behavior After the load test ends and the conversation containing the large chat message is deleted, the application's memory utilization remains at levels consistent with the load test, indicating potential memory retention or improper release. --- ## Description ### **Bug Summary** Memory usage increases significantly after posting a large message and does not return to normal levels even after deleting the conversation. ### **Behavior Details** #### Before Posting a Large Chat Message - Memory consumption is within normal parameters. ![Before Posting Memory Usage](https://github.com/user-attachments/assets/48418dbd-060a-479c-9e63-fde139dde4c0) #### After Posting a Large Chat Message - Memory usage increases substantially with a message size of 7816 KB. ![After Posting Memory Usage 1](https://github.com/user-attachments/assets/f37b1477-7102-4515-8693-6282f5637154) ![After Posting Memory Usage 2](https://github.com/user-attachments/assets/00f2a9ac-68dd-4678-848f-8c0e8f7d0f6a) #### After Deleting the Large Chat Message - Memory usage does not decrease and remains at elevated levels. ![After Deletion Memory Usage 1](https://github.com/user-attachments/assets/8273cb3d-fef1-421c-8a93-bb6bf7e39716) ![After Deletion Memory Usage 2](https://github.com/user-attachments/assets/4abc566a-882f-4e4b-b050-690e39e336f3) #### After Rebooting the Application - Memory usage resets to normal, suggesting that the issue lies in runtime memory management. ![After Reboot Memory Usage 1](https://github.com/user-attachments/assets/9d1b8bcd-3ab4-486a-a8df-38dca37887bd) ![After Reboot Memory Usage 2](https://github.com/user-attachments/assets/c00dcb87-a7e3-48d8-86b6-1960e35c2b88) --- ## Reproduction Details ### **Steps to Reproduce** 1. Post a large chat message (size: 7816 KB). 2. Delete the conversation containing the large chat message. 3. Observe memory utilization via monitoring tools. 4. (Optional) Reboot the application and observe memory utilization. --- ## Logs and Screenshots ### **Docker Container Logs** I didn't capture it but I can provide that if needed. ### **Screenshots** Included above. --- ## Additional Information - This issue appears to be related to runtime memory management. - Rebooting the application resets memory usage, suggesting the problem is not due to persistent storage. ---
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69652