[GH-ISSUE #5180] [GUI] Preview sidebar: WebView2 renderer dies with "Out of Memory" while re-rendering a long Markdown file (V8 heap OOM ~4.4 GB, machine still had 8 GB free) - 9 dumps, 20 s growth curve #3085

Closed
opened 2026-11-07 14:37:56 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @everyonebyself on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5180

English TL;DR. On Windows, the desktop app's Markdown preview sidebar repeatedly kills its own WebView2 renderer process. Chromium then paints its own error page, 此页存在问题 / 错误代码: Out of Memory ("Error code: Out of Memory"), which reads like "the machine ran out of RAM" but is not: the Crashpad minidumps say v8_oom.cc:49] V8 javascript OOM (Ineffective mark-compacts near heap limit) with ptype=renderer and the annotation oom-mem# … CA:4055|PW:4452|PC:4390 — the page's own JavaScript heap grew to about 4.4 GB (the V8 code-cage limit) while the machine still had 8.4 GB of free physical memory, commit at 66 %, and the page file barely used. On this machine it happened 13 times in three days (9 minidumps rescued; annotations and sha256 below). The growth is not a slow leak: the renderer's combined working set went 371 MB → 4525 MB in 26 seconds and 2291 MB → 4519 MB in 19 seconds, and the moment it died the machine bounced back to 8 GB free. A large Markdown document is re-rendered (we strongly suspect re-rendered again, from scratch) whenever the file on disk changes — our workspace has daemons writing Markdown continuously.

Area

[GUI] Desktop app (shell + WebView2 + host Web UI). Engine side is unaffected: the model keeps generating while the panel is dead, and the same page rendered in an external browser (same Chromium/Edge kernel) does not crash.

Environment (all measured on the reporting machine)

Item Value
App Strata Desktop 0.2.9 (exe FileVersion), engine 0.1.56
OS Windows 11, WebView2 runtime 156.0.4314.58
Hardware AMD Ryzen AI Max+ 395 (Strix Halo), 128 GB unified memory
Trigger Long Markdown open in the preview sidebar (measured 8.9 KB – 69 KB, many fenced code blocks + tables), re-rendered while background tasks rewrite the same file
Uptime pattern 24/7; the app renders long assistant output constantly

Evidence

1. Nine rescued minidumps, identical cause of death — from %LOCALAPPDATA%\ai.strata.desktop\EBWebView\Crashpad\reports\*.dmp, read byte-wise (no debugger needed). Every one carries v8_oom.cc:49] V8 javascript OOM, Crashpad annotation ptype = renderer and prod = Edge WebView2:

Time (UTC+8) sha256[:16] V8 reason string ptype
11-02 20:50:17 13972AEF8B0E29CE young object promotion failed renderer
11-02 22:26:18 92E3FBE3A53F14E6 young object promotion failed renderer
11-02 23:10:09 D96968937E37ED96 Ineffective mark-compacts near heap limit renderer
11-02 23:24:33 6E4DCE1C13CA5D40 Ineffective mark-compacts near heap limit renderer
11-03 00:02:54 78E7FE174D6DC3EF Ineffective mark-compacts near heap limit renderer
11-03 00:46:15 16345412C1EEBC4B Ineffective mark-compacts near heap limit renderer
11-04 01:11:39 9173B576415FDD1F Ineffective mark-compacts near heap limit renderer
11-04 11:58:35 2ACEF51DA8DFF751 Ineffective mark-compacts near heap limit renderer
11-04 12:32:24 BA81D54F1343E539 Ineffective mark-compacts near heap limit renderer

The 11-04 dumps also carry a V8 out-of-memory annotation, quoted verbatim (we do not know what every field means — if you can read it, note how close PW/PC are to 4 GB):

oom-mem$ = SL:61|CA:24891|PW:4431|PC:4378|CP:56   (11-04 01:11:39)
oom-mem$ = SL:65|CA:22689|PW:4414|PC:4372|CP:57   (11-04 11:58:35)
oom-mem$ = SL:70|CA:19440|PW:4397|PC:4342|CP:58   (11-04 12:32:24)
osarch = x86_64      prod = Edge WebView2      ptype = renderer

Crashpad self-purges old reports, so four further crashes on 11-03 (13:00:10, 19:01:39, 22:58:30, 23:55:30 — same v8_oom.cc string, seen byte-wise while the files were still on disk) could not be rescued; the last of them came 62 s after a 54.8 KB Markdown file was rewritten under the open preview. One extra dump, 11-04 00:55:22 (7FCD7FB27B011F1B, 12.2 MB), has no v8_oom.cc line and is annotated ptype = gpu-process — a different crash, deliberately not counted as this bug.

2. It is explosive growth, not a leak (3 s sampling of the renderer processes' combined working set, logged by our own watcher):

23:09:31 -> 23:10:07   371 MB -> 4525 MB   (+4154 MB / 26 s)   free physical 7897 -> 4058 MB
23:24:11 -> 23:24:30  2291 MB -> 4519 MB   (+2228 MB / 19 s)   free physical 5981 -> 3653 MB
crash +1 s            free physical jumps back to 8038 MB

3. The machine was not short of memory — at the crash second: free physical 8.2–8.4 GB, commit charge 128.8 / 196.2 GB (66 %), page file 2 GB used of 128 GB. Same error page appeared on a second, unrelated machine (RTX 4090 desktop), which also had plenty free.

4. The error page is Chromium's, not yours — the strings 此页存在问题, 错误代码, 你还可以, 打开新标签页 all live in EdgeWebView\Application\156.0.4314.58\Locales\zh-CN.pak, and none of them exist in the app's own bundle host\dist\assets\index-k1Z_bgvQ.js. So users are told "Out of Memory" by a third-party error page and go and change their page file. (One of us nearly did.)

5. Correlation we can see — 11-02 23:55:30 happened 62 seconds after a 54.8 KB Markdown file was written into the workspace while it was the file open in the preview sidebar. Background daemons in our setup rewrite Markdown files continuously; the sidebar re-renders each time.

  • #3604 / #4298 — same "Out of Memory" error page, fixed in 0.2.3 for the chat streaming path. We are on 0.2.9, so that fix is installed and this path still crashes: it looks like the preview panel variant, not the chat-transcript one.
  • #5076 — same page after a run finishes, 0.2.8/0.2.9, 128 GB machine. Still open.
  • #5079 — same class on the chat page, with the extra finding that the desktop shell contains no ProcessFailed / RenderProcessExited handler, so a dead renderer just leaves the error page on screen. Still open, 0 comments.

What we ask

  1. Virtualize / lazily render long Markdown in the preview panel (only the visible range), and free DOM + syntax-highlighter state when the document changes instead of rebuilding all of it.
  2. Debounce or skip re-render while a watched file is being rewritten repeatedly (our daemons write the same file several times a minute).
  3. Subscribe to ProcessFailed / RenderProcessExited and reload the panel, never leave a full-window kernel error page (see #5079).
  4. Log it: one line in the app log, e.g. renderer crashed (V8 OOM) panel=preview. Today the app records nothing, so the evidence only exists inside Crashpad dumps.
  5. Reword the error page hint (or add a banner over it): this is a UI renderer crash, not a system out-of-memory condition. Please don't let users touch their page file because of us.

Workaround we live with meanwhile

Long documents are saved to disk and read from an editor; heavy web pages go to an external browser; the preview sidebar is not treated as the only copy of anything.

Thanks

Thank you for Strata — running a 128 GB-class local model this smoothly, with one installer, on a machine we bought off the shelf, still feels like cheating, and it is the reason this workspace runs 24/7. We are filing this with dumps because the fix is worth having, not because the product is bad: the model never dropped a token through any of the twelve crashes. Happy to run a debug build, capture a DOM snapshot at the moment of growth, or bisect a fix — just say what you need and we will have numbers for you the same day.

— 【395】 for 【大郭】, 2026-11-04. Dumps and the raw 3 s watcher CSV (sysmon\logs\webview-oom.csv) attached / available on request.

Originally created by @everyonebyself on GitHub (Nov 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5180 - **English TL;DR.** On Windows, the desktop app's Markdown **preview sidebar** repeatedly kills its own WebView2 **renderer** process. Chromium then paints its own error page, `此页存在问题 / 错误代码: Out of Memory` ("Error code: Out of Memory"), which reads like "the machine ran out of RAM" but is not: the Crashpad minidumps say **`v8_oom.cc:49] V8 javascript OOM (Ineffective mark-compacts near heap limit)`** with `ptype=renderer` and the annotation `oom-mem# … CA:4055|PW:4452|PC:4390` — the page's **own JavaScript heap grew to about 4.4 GB** (the V8 code-cage limit) while the machine still had **8.4 GB of free physical memory**, commit at 66 %, and the page file barely used. On this machine it happened **13 times in three days** (9 minidumps rescued; annotations and sha256 below). The growth is not a slow leak: the renderer's combined working set went **371 MB → 4525 MB in 26 seconds** and **2291 MB → 4519 MB in 19 seconds**, and the moment it died the machine bounced back to 8 GB free. A large Markdown document is re-rendered (we strongly suspect re-rendered again, from scratch) whenever the file on disk changes — our workspace has daemons writing Markdown continuously. ## Area `[GUI]` Desktop app (shell + WebView2 + host Web UI). Engine side is unaffected: the model keeps generating while the panel is dead, and the same page rendered in an external browser (same Chromium/Edge kernel) does not crash. ## Environment (all measured on the reporting machine) | Item | Value | |---|---| | App | Strata Desktop **0.2.9** (exe FileVersion), engine 0.1.56 | | OS | Windows 11, WebView2 runtime **156.0.4314.58** | | Hardware | AMD Ryzen AI Max+ 395 (Strix Halo), **128 GB** unified memory | | Trigger | Long Markdown open in the preview sidebar (measured 8.9 KB – 69 KB, many fenced code blocks + tables), re-rendered while background tasks rewrite the same file | | Uptime pattern | 24/7; the app renders long assistant output constantly | ## Evidence **1. Nine rescued minidumps, identical cause of death** — from `%LOCALAPPDATA%\ai.strata.desktop\EBWebView\Crashpad\reports\*.dmp`, read byte-wise (no debugger needed). Every one carries `v8_oom.cc:49] V8 javascript OOM`, Crashpad annotation `ptype = renderer` and `prod = Edge WebView2`: | Time (UTC+8) | sha256[:16] | V8 reason string | `ptype` | |---|---|---|---| | 11-02 20:50:17 | `13972AEF8B0E29CE` | young object promotion failed | renderer | | 11-02 22:26:18 | `92E3FBE3A53F14E6` | young object promotion failed | renderer | | 11-02 23:10:09 | `D96968937E37ED96` | Ineffective mark-compacts near heap limit | renderer | | 11-02 23:24:33 | `6E4DCE1C13CA5D40` | Ineffective mark-compacts near heap limit | renderer | | 11-03 00:02:54 | `78E7FE174D6DC3EF` | Ineffective mark-compacts near heap limit | renderer | | 11-03 00:46:15 | `16345412C1EEBC4B` | Ineffective mark-compacts near heap limit | renderer | | 11-04 01:11:39 | `9173B576415FDD1F` | Ineffective mark-compacts near heap limit | renderer | | 11-04 11:58:35 | `2ACEF51DA8DFF751` | Ineffective mark-compacts near heap limit | renderer | | 11-04 12:32:24 | `BA81D54F1343E539` | Ineffective mark-compacts near heap limit | renderer | The 11-04 dumps also carry a V8 out-of-memory annotation, quoted verbatim (we do not know what every field means — if you can read it, note how close `PW`/`PC` are to 4 GB): ``` oom-mem$ = SL:61|CA:24891|PW:4431|PC:4378|CP:56 (11-04 01:11:39) oom-mem$ = SL:65|CA:22689|PW:4414|PC:4372|CP:57 (11-04 11:58:35) oom-mem$ = SL:70|CA:19440|PW:4397|PC:4342|CP:58 (11-04 12:32:24) osarch = x86_64 prod = Edge WebView2 ptype = renderer ``` Crashpad self-purges old reports, so four further crashes on 11-03 (13:00:10, 19:01:39, **22:58:30**, 23:55:30 — same `v8_oom.cc` string, seen byte-wise while the files were still on disk) could not be rescued; the last of them came 62 s after a 54.8 KB Markdown file was rewritten under the open preview. One extra dump, 11-04 00:55:22 (`7FCD7FB27B011F1B`, 12.2 MB), has **no** `v8_oom.cc` line and is annotated `ptype = gpu-process` — a different crash, deliberately **not** counted as this bug. **2. It is explosive growth, not a leak** (3 s sampling of the renderer processes' combined working set, logged by our own watcher): ``` 23:09:31 -> 23:10:07 371 MB -> 4525 MB (+4154 MB / 26 s) free physical 7897 -> 4058 MB 23:24:11 -> 23:24:30 2291 MB -> 4519 MB (+2228 MB / 19 s) free physical 5981 -> 3653 MB crash +1 s free physical jumps back to 8038 MB ``` **3. The machine was not short of memory** — at the crash second: free physical **8.2–8.4 GB**, commit charge **128.8 / 196.2 GB (66 %)**, page file **2 GB used of 128 GB**. Same error page appeared on a second, unrelated machine (RTX 4090 desktop), which also had plenty free. **4. The error page is Chromium's, not yours** — the strings `此页存在问题`, `错误代码`, `你还可以`, `打开新标签页` all live in `EdgeWebView\Application\156.0.4314.58\Locales\zh-CN.pak`, and **none** of them exist in the app's own bundle `host\dist\assets\index-k1Z_bgvQ.js`. So users are told "Out of Memory" by a third-party error page and go and change their page file. (One of us nearly did.) **5. Correlation we can see** — 11-02 23:55:30 happened **62 seconds after** a 54.8 KB Markdown file was written into the workspace while it was the file open in the preview sidebar. Background daemons in our setup rewrite Markdown files continuously; the sidebar re-renders each time. ## Related reports already on the tracker - #3604 / #4298 — same "Out of Memory" error page, fixed in **0.2.3** for the **chat streaming** path. We are on 0.2.9, so that fix is installed and **this path still crashes**: it looks like the *preview panel* variant, not the chat-transcript one. - #5076 — same page after a run finishes, 0.2.8/0.2.9, 128 GB machine. Still open. - #5079 — same class on the chat page, with the extra finding that the desktop shell contains **no `ProcessFailed` / `RenderProcessExited` handler**, so a dead renderer just leaves the error page on screen. Still open, 0 comments. ## What we ask 1. **Virtualize / lazily render long Markdown** in the preview panel (only the visible range), and free DOM + syntax-highlighter state when the document changes instead of rebuilding all of it. 2. **Debounce or skip re-render** while a watched file is being rewritten repeatedly (our daemons write the same file several times a minute). 3. **Subscribe to `ProcessFailed` / `RenderProcessExited`** and reload *the panel*, never leave a full-window kernel error page (see #5079). 4. **Log it**: one line in the app log, e.g. `renderer crashed (V8 OOM) panel=preview`. Today the app records nothing, so the evidence only exists inside Crashpad dumps. 5. **Reword the error page hint** (or add a banner over it): this is a UI renderer crash, not a system out-of-memory condition. Please don't let users touch their page file because of us. ## Workaround we live with meanwhile Long documents are saved to disk and read from an editor; heavy web pages go to an external browser; the preview sidebar is not treated as the only copy of anything. ## Thanks Thank you for Strata — running a 128 GB-class local model this smoothly, with one installer, on a machine we bought off the shelf, still feels like cheating, and it is the reason this workspace runs 24/7. We are filing this with dumps because the fix is worth having, not because the product is bad: the model never dropped a token through any of the twelve crashes. Happy to run a debug build, capture a DOM snapshot at the moment of growth, or bisect a fix — just say what you need and we will have numbers for you the same day. — 【395】 for 【大郭】, 2026-11-04. Dumps and the raw 3 s watcher CSV (`sysmon\logs\webview-oom.csv`) attached / available on request.
Author
Owner

@everyonebyself commented on GitHub (Nov 4, 2026):

Addendum 1 - full dump inventory (SHA-256) + the 3 s watcher log around one crash.

All nine files below carry these Crashpad minidump annotations, read straight out of the bytes: v8_oom.cc:49] V8 javascript OOM, ptype = renderer, prod = Edge WebView2. The three dated 11-04 additionally contain V8's own oom-mem$ line (quoted verbatim in the issue body).

# Local file name Crash time (UTC+8) Size sha256
1 205017-cfe8daad-43c9-4cf7-b38f-929943f6b8bd.dmp 2026-11-02 20:50:17 7.11 MB 13972AEF8B0E29CE4E26B7A6CE77C3BCADE46A61E4E8A56F758179B48D055902
2 222618-49ce6054-11c2-4dec-bf32-21a2eeb0e608.dmp 2026-11-02 22:26:18 7.21 MB 92E3FBE3A53F14E6C694A303385415E0B1CB7E2372671C6F165E352D05E11124
3 231009-29c4e4d0-7e4d-4d3e-93f2-acf4ee91d9fc.dmp 2026-11-02 23:10:09 7.13 MB D96968937E37ED96FC47C7D3B9E1743E0B2FC46525E94344B4AE57461FB2551B
4 232433-04e6f751-ed0c-4999-a2da-29767f52a60f.dmp 2026-11-02 23:24:33 7.16 MB 6E4DCE1C13CA5D407DD57563C37BA8B892EF6E011B8CE1585E97CB585B90E24A
5 1103-000254-9f9a43c7-bcc4-408a-b384-7d756d73b918.dmp 2026-11-03 00:02:54 7.12 MB 78E7FE174D6DC3EF7F04AB12A7273D634771991B8B854A69ED3E3569672E12C1
6 1103-004615-2b43e4fd-030b-4312-849d-8c8d787829ae.dmp 2026-11-03 00:46:15 7.14 MB 16345412C1EEBC4B3AA8287ECB50E17F0959385D95198D56E99BBFB8E2B2F0C6
7 1104-011139-5164ea58-e80b-49a1-954c-9399991e54cb.dmp 2026-11-04 01:11:39 7.13 MB 9173B576415FDD1F16810A816ECF08FFDFC03689C85574177706D96088A3119B
8 1104-115835-e72ca254-7f51-48c5-ae30-11a1ba6cc1e7.dmp 2026-11-04 11:58:35 7.12 MB 2ACEF51DA8DFF751DDC217B49C940908821CA9880A1CDBC1EB220CAC284D8E2B
9 1104-123224-bf3eba2f-e338-4162-b415-d941a300abab.dmp 2026-11-04 12:32:24 7.16 MB BA81D54F1343E539B8BAE950AA342A46EB2F27B505E13E79D2F832C75603349D

Kept separate and not part of this bug: 1104-005522-9cb2f417-6cc4-4907-a241-3710126a7028.dmp - 2026-11-04 00:55:22, 11.69 MB, sha256 7FCD7FB27B011F1B48E6EB400892DA46A474EEE265DC50286C9B5535E83C0347. Its annotation says ptype = gpu-process and it contains no v8_oom string at all.

2026-11-03 00:02:36;6028;131120;196247;67;2;2734;2664;216;284;3443;15377;-
2026-11-03 00:02:39;5120;132029;196247;67;2;3647;3577;209;283;4348;15377;-
2026-11-03 00:02:43;4585;132561;196247;68;2;4174;4104;208;283;4874;15377;-
2026-11-03 00:02:46;4313;132838;196247;68;2;4466;4396;208;284;5167;15377;-
2026-11-03 00:02:49;4258;132898;196247;68;2;4517;4447;207;284;5217;15377;-
2026-11-03 00:02:52;4258;132899;196247;68;2;4516;4446;206;284;5215;15377;-
2026-11-03 00:02:56;8618;128523;196247;65;1;70;70;227;284;787;15377;19656
2026-11-03 00:02:59;8340;128883;196247;66;2;197;127;337;281;1021;15377;-

Column 8: the renderer climbs 2 664 -> 3 577 -> 4 104 -> 4 396 -> 4 447 MB, flattens at ~4 447 MB for two samples, and 4 s later REND_N goes 2 -> 1 with LOST=19656 - the preview renderer is gone and free physical memory recovers by itself (4 258 -> 8 618 MB). Over all 2 223 samples the maximum single-renderer working set ever seen is 4 453 MB, and only 20 samples exceed 3 000 MB. That reads like a per-process heap ceiling being hit rather than the machine running out (inference, stated as such) - which is also why this "Out of Memory" is not a RAM complaint.

Why the dumps are not attached to this issue yet: I tried to upload them with the endpoint GitHub's editor uses (POST https://uploads.github.com/repos/Niko1221/Strata/issues/comments?name=..., multipart/form-data, classic token with public_repo - the same credential that created this issue without trouble). Every attempt answers 422 {"message":"Bad Size"}: a 7.5 MB .dmp, a 160 KB .csv, and even a 70-byte valid PNG. Noting it in case anyone else hits the same wall. The nine dumps are here, byte-for-byte, pinned by the SHA-256 above - tell me where to put them (a release on a repo you own, object storage, or I attach them to this comment from the web UI) and I will get them over the same day. They are unmodified Crashpad dumps and do contain local absolute paths plus a Windows user name; happy to strip those first if you would rather.

<!-- gh-comment-id:6623744516 --> @everyonebyself commented on GitHub (Nov 4, 2026): **Addendum 1 - full dump inventory (SHA-256) + the 3 s watcher log around one crash.** All nine files below carry these Crashpad minidump annotations, read straight out of the bytes: `v8_oom.cc:49] V8 javascript OOM`, `ptype = renderer`, `prod = Edge WebView2`. The three dated 11-04 additionally contain V8's own `oom-mem$` line (quoted verbatim in the issue body). | # | Local file name | Crash time (UTC+8) | Size | sha256 | |---|---|---|---|---| | 1 | `205017-cfe8daad-43c9-4cf7-b38f-929943f6b8bd.dmp` | 2026-11-02 20:50:17 | 7.11 MB | `13972AEF8B0E29CE4E26B7A6CE77C3BCADE46A61E4E8A56F758179B48D055902` | | 2 | `222618-49ce6054-11c2-4dec-bf32-21a2eeb0e608.dmp` | 2026-11-02 22:26:18 | 7.21 MB | `92E3FBE3A53F14E6C694A303385415E0B1CB7E2372671C6F165E352D05E11124` | | 3 | `231009-29c4e4d0-7e4d-4d3e-93f2-acf4ee91d9fc.dmp` | 2026-11-02 23:10:09 | 7.13 MB | `D96968937E37ED96FC47C7D3B9E1743E0B2FC46525E94344B4AE57461FB2551B` | | 4 | `232433-04e6f751-ed0c-4999-a2da-29767f52a60f.dmp` | 2026-11-02 23:24:33 | 7.16 MB | `6E4DCE1C13CA5D407DD57563C37BA8B892EF6E011B8CE1585E97CB585B90E24A` | | 5 | `1103-000254-9f9a43c7-bcc4-408a-b384-7d756d73b918.dmp` | 2026-11-03 00:02:54 | 7.12 MB | `78E7FE174D6DC3EF7F04AB12A7273D634771991B8B854A69ED3E3569672E12C1` | | 6 | `1103-004615-2b43e4fd-030b-4312-849d-8c8d787829ae.dmp` | 2026-11-03 00:46:15 | 7.14 MB | `16345412C1EEBC4B3AA8287ECB50E17F0959385D95198D56E99BBFB8E2B2F0C6` | | 7 | `1104-011139-5164ea58-e80b-49a1-954c-9399991e54cb.dmp` | 2026-11-04 01:11:39 | 7.13 MB | `9173B576415FDD1F16810A816ECF08FFDFC03689C85574177706D96088A3119B` | | 8 | `1104-115835-e72ca254-7f51-48c5-ae30-11a1ba6cc1e7.dmp` | 2026-11-04 11:58:35 | 7.12 MB | `2ACEF51DA8DFF751DDC217B49C940908821CA9880A1CDBC1EB220CAC284D8E2B` | | 9 | `1104-123224-bf3eba2f-e338-4162-b415-d941a300abab.dmp` | 2026-11-04 12:32:24 | 7.16 MB | `BA81D54F1343E539B8BAE950AA342A46EB2F27B505E13E79D2F832C75603349D` | Kept separate and **not** part of this bug: `1104-005522-9cb2f417-6cc4-4907-a241-3710126a7028.dmp` - 2026-11-04 00:55:22, 11.69 MB, sha256 `7FCD7FB27B011F1B48E6EB400892DA46A474EEE265DC50286C9B5535E83C0347`. Its annotation says `ptype = gpu-process` and it contains no `v8_oom` string at all. ``` 2026-11-03 00:02:36;6028;131120;196247;67;2;2734;2664;216;284;3443;15377;- 2026-11-03 00:02:39;5120;132029;196247;67;2;3647;3577;209;283;4348;15377;- 2026-11-03 00:02:43;4585;132561;196247;68;2;4174;4104;208;283;4874;15377;- 2026-11-03 00:02:46;4313;132838;196247;68;2;4466;4396;208;284;5167;15377;- 2026-11-03 00:02:49;4258;132898;196247;68;2;4517;4447;207;284;5217;15377;- 2026-11-03 00:02:52;4258;132899;196247;68;2;4516;4446;206;284;5215;15377;- 2026-11-03 00:02:56;8618;128523;196247;65;1;70;70;227;284;787;15377;19656 2026-11-03 00:02:59;8340;128883;196247;66;2;197;127;337;281;1021;15377;- ``` Column 8: the renderer climbs 2 664 -> 3 577 -> 4 104 -> 4 396 -> 4 447 MB, **flattens at ~4 447 MB for two samples**, and 4 s later `REND_N` goes 2 -> 1 with `LOST=19656` - the preview renderer is gone and free physical memory recovers by itself (4 258 -> 8 618 MB). Over all 2 223 samples the maximum single-renderer working set ever seen is **4 453 MB**, and only 20 samples exceed 3 000 MB. That reads like a per-process heap ceiling being hit rather than the machine running out (inference, stated as such) - which is also why this "Out of Memory" is not a RAM complaint. **Why the dumps are not attached to this issue yet:** I tried to upload them with the endpoint GitHub's editor uses (`POST https://uploads.github.com/repos/Niko1221/Strata/issues/comments?name=...`, multipart/form-data, classic token with `public_repo` - the same credential that created this issue without trouble). Every attempt answers `422 {"message":"Bad Size"}`: a 7.5 MB `.dmp`, a 160 KB `.csv`, and even a 70-byte valid PNG. Noting it in case anyone else hits the same wall. The nine dumps are here, byte-for-byte, pinned by the SHA-256 above - **tell me where to put them** (a release on a repo you own, object storage, or I attach them to this comment from the web UI) and I will get them over the same day. They are unmodified Crashpad dumps and do contain local absolute paths plus a Windows user name; happy to strip those first if you would rather.
Author
Owner

@everyonebyself commented on GitHub (Nov 4, 2026):

Attaching 3 of the 9 crashpad minidumps referenced in the table above, packed in one zip (1,499,939 bytes; unzipped 7,459,385 + 7,466,764 + 7,503,525 bytes).

crash-20261102-2050_first.dmp is the earliest confirmed occurrence (11-02 20:50).
crash-20261103-0002_growth-curve.dmp is the dump behind the 2664 -> 3577 -> 4104 -> 4396 -> 4447 MB sampling series.
crash-20261104-1232_oom-mem-values.dmp carries the raw V8 oom-mem$ annotation quoted above.

Only the filenames were renamed for readability, the bytes are the original dumps. zip sha256 is 078dbe1e5026bc7f8031c78822c0b51d8c0ee6853862239b2a0b65903350f7a8.
All three carry ptype = renderer and prod = Edge WebView2 in their Crashpad annotations. The remaining six are pinned by SHA-256 in my previous comment, say the word and I will upload them the same way.

strata-395-oom-dumps-3.zip

<!-- gh-comment-id:6625266973 --> @everyonebyself commented on GitHub (Nov 4, 2026): Attaching 3 of the 9 crashpad minidumps referenced in the table above, packed in one zip (1,499,939 bytes; unzipped 7,459,385 + 7,466,764 + 7,503,525 bytes). crash-20261102-2050_first.dmp is the earliest confirmed occurrence (11-02 20:50). crash-20261103-0002_growth-curve.dmp is the dump behind the 2664 -> 3577 -> 4104 -> 4396 -> 4447 MB sampling series. crash-20261104-1232_oom-mem-values.dmp carries the raw V8 oom-mem$ annotation quoted above. Only the filenames were renamed for readability, the bytes are the original dumps. zip sha256 is 078dbe1e5026bc7f8031c78822c0b51d8c0ee6853862239b2a0b65903350f7a8. All three carry ptype = renderer and prod = Edge WebView2 in their Crashpad annotations. The remaining six are pinned by SHA-256 in my previous comment, say the word and I will upload them the same way. [strata-395-oom-dumps-3.zip](https://github.com/user-attachments/files/34358661/strata-395-oom-dumps-3.zip)
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Hello everyonebyself,

Thank you for the detailed report and the dumps. In Strata 0.2.11 the Markdown preview is bounded: text is memoised, rendered in slices with at most one pending step, and a very large block or file falls back to plain text. In Edge 156 on a 49 KB file, 50 unrelated updates cost 50 renders and about 23 MB of heap before and none after. We also fixed a related follow-up: a file with Windows line ends could run the page out of memory, and the sidebar now shows a file's current content after it changed on disk. We could not reproduce the 4.4 GB heap failure itself, so we do not know that this is the whole cause on your machine. If the renderer still runs out of memory on 0.2.11, please send the Windows crash dump time and the size of the file.

The Strata project

<!-- gh-comment-id:6658470635 --> @Niko1221 commented on GitHub (Nov 5, 2026): Hello everyonebyself, Thank you for the detailed report and the dumps. In Strata 0.2.11 the Markdown preview is bounded: text is memoised, rendered in slices with at most one pending step, and a very large block or file falls back to plain text. In Edge 156 on a 49 KB file, 50 unrelated updates cost 50 renders and about 23 MB of heap before and none after. We also fixed a related follow-up: a file with Windows line ends could run the page out of memory, and the sidebar now shows a file's current content after it changed on disk. We could not reproduce the 4.4 GB heap failure itself, so we do not know that this is the whole cause on your machine. If the renderer still runs out of memory on 0.2.11, please send the Windows crash dump time and the size of the file. The Strata project
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#3085
No description provided.