[GH-ISSUE #4298] [GUI] Chat view's WebView2 renderer grows to several GB during long reasoning output and crashes (Windows); engine and browser chat unaffected #1898

Closed
opened 2026-11-04 01:55:09 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @ITS-Wied on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4298

Hi,

I found a memory problem during testing strata (whis is awesome).
Details (written by claude)

Environment

  • Strata desktop app (Strata 0.2.2 · Engine 0.1.50) on Windows 11 Pro
  • RTX 4090 24 GB, 64 GB RAM
  • Model: Qwen3.8-Flash-Next IQ3_S (GSQ-RCO), context 128K, "Read images" on
  • Thinking: high

What happens
During a single answer with long reasoning (~6,000 output tokens), the app's renderer
process ("WebView2: Strata — local AI, tuned to one model") keeps growing:
3.6 GB in one run, 6.7 GB (whole WebView2 group) in another.
With the engine at ~40 GB, system RAM reaches ~61/64 GB, the WebView2 process
disappears and the chat shows a cut-off answer when restarted.

The engine is not affected: the monitor lists the request as Done (7,310 prompt /
6,031 output tokens, 162 s), the stats since start keep counting, and Python stays
at ~38.5 GB after the client is gone.

Collapsing the reasoning block in the chat does not stop the growth.
With thinking on medium (shorter output) the same question completes without a crash.

Comparison with the browser chat
Same request (same model, thinking high) in the server's browser chat page
(http://127.0.0.1:8080, Firefox): Firefox stays at ~490-550 MB total (all tabs)
from start to finished answer; the app's WebView2 process (no chat open) stays
at ~80 MB. The growth only happens in the desktop app's chat view.

Steps to reproduce

  1. Load a large model so that free RAM is limited (here ~12 GB free at idle).
  2. Set thinking to high and ask a question that produces long reasoning.
  3. Watch the "WebView2: Strata" process in Task Manager while the answer streams.

Expected
Renderer memory stays roughly constant while streaming, independent of output length,
especially with the reasoning block collapsed.

I'm not fluent in how to adress such things, hopefully it helps.

Originally created by @ITS-Wied on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4298 Hi, I found a memory problem during testing strata (whis is awesome). Details (written by claude) Environment - Strata desktop app (Strata 0.2.2 · Engine 0.1.50) on Windows 11 Pro - RTX 4090 24 GB, 64 GB RAM - Model: Qwen3.8-Flash-Next IQ3_S (GSQ-RCO), context 128K, "Read images" on - Thinking: high What happens During a single answer with long reasoning (~6,000 output tokens), the app's renderer process ("WebView2: Strata — local AI, tuned to one model") keeps growing: 3.6 GB in one run, 6.7 GB (whole WebView2 group) in another. With the engine at ~40 GB, system RAM reaches ~61/64 GB, the WebView2 process disappears and the chat shows a cut-off answer when restarted. The engine is not affected: the monitor lists the request as Done (7,310 prompt / 6,031 output tokens, 162 s), the stats since start keep counting, and Python stays at ~38.5 GB after the client is gone. Collapsing the reasoning block in the chat does not stop the growth. With thinking on medium (shorter output) the same question completes without a crash. Comparison with the browser chat Same request (same model, thinking high) in the server's browser chat page (http://127.0.0.1:8080, Firefox): Firefox stays at ~490-550 MB total (all tabs) from start to finished answer; the app's WebView2 process (no chat open) stays at ~80 MB. The growth only happens in the desktop app's chat view. Steps to reproduce 1. Load a large model so that free RAM is limited (here ~12 GB free at idle). 2. Set thinking to high and ask a question that produces long reasoning. 3. Watch the "WebView2: Strata" process in Task Manager while the answer streams. Expected Renderer memory stays roughly constant while streaming, independent of output length, especially with the reasoning block collapsed. I'm not fluent in how to adress such things, hopefully it helps.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6439776316 --> @github-actions[bot] commented on GitHub (Oct 27, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6439807477 --> @github-actions[bot] commented on GitHub (Oct 27, 2026): Thanks, this follows the format now.
Author
Owner

@ITS-Wied commented on GitHub (Oct 27, 2026):

Sorry, just found it is adressed already. Will test and close issue then.

<!-- gh-comment-id:6439859364 --> @ITS-Wied commented on GitHub (Oct 27, 2026): Sorry, just found it is adressed already. Will test and close issue then.
Author
Owner

@ITS-Wied commented on GitHub (Oct 27, 2026):

Confirmed fixed after updating from 0.2.2 to 0.2.6 (duplicate of #3604, fixed in 0.2.3).
Same model and settings (IQ3_S, 128K, thinking high), same question: the answer completes,
system RAM stays below 90 %. Closing.

<!-- gh-comment-id:6440019341 --> @ITS-Wied commented on GitHub (Oct 27, 2026): Confirmed fixed after updating from 0.2.2 to 0.2.6 (duplicate of #3604, fixed in 0.2.3). Same model and settings (IQ3_S, 128K, thinking high), same question: the answer completes, system RAM stays below 90 %. Closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1898
No description provided.