mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[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
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1898
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @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
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
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.
@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:
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
@github-actions[bot] commented on GitHub (Oct 27, 2026):
Thanks, this follows the format now.
@ITS-Wied commented on GitHub (Oct 27, 2026):
Sorry, just found it is adressed already. Will test and close issue then.
@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.