Freezing during generation and 1+ GB Chrome tab memory usage #399

Closed
opened 2025-11-11 14:20:19 -06:00 by GiteaMirror · 3 comments
Owner

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

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
Author
Owner

@horiacristescu commented on GitHub (Mar 3, 2024):

was caused by another extension interfering with Open WebUI

@horiacristescu commented on GitHub (Mar 3, 2024): was caused by another extension interfering with Open WebUI
Author
Owner

@tjbck commented on GitHub (Mar 3, 2024):

Side note, you should probably update your open webui :)

@tjbck commented on GitHub (Mar 3, 2024): Side note, you should probably update your open webui :)
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#399