mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-24 20:14:58 -05:00
Freezing during generation and 1+ GB Chrome tab memory usage #399
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 @horiacristescu on GitHub (Mar 3, 2024).
Bug Report
Description
Bug Summary:
When generating text, either with ollama or OpenAI, the interface becomes laggy and eventually freezes.
It looks like the browser is caught in an infinite loop and no longer processing mouse events - maybe it is appending to the DOM too fast, or some kind of intensive polling happening.
The first few lines of text flow nicely, but after about one screen of text it starts acting up.
It can kill a tab or the whole browser. When I checked the offending tab was using 200% CPU and 1.3GB RAM
Steps to Reproduce:
This happens on all models and both on Mac and Ubuntu
I removed my conversation history because it was too slow to load (33MB total JSON export), so it's not on account of too many messages in history.
Ollama Web UI Version
v1.0.0-alpha.100
Ollama Version
0.1.27
@horiacristescu commented on GitHub (Mar 3, 2024):
was caused by another extension interfering with Open WebUI
@tjbck commented on GitHub (Mar 3, 2024):
Side note, you should probably update your open webui :)
@horiacristescu commented on GitHub (Mar 10, 2024):
I updated open-webui to the latest docker version but still have freezing. Even on Safari and Firefox, not just on Chrome.
Could it be related to having too many conversations in history, or having conversations with images? It seems the settings volume is 249MB.
...
Ok, I removed all the data from the settings volume and it still freezes, it is probably related to the Markdown code blocks. If I don't have a MD code block it doesn't freeze.