Skip to content

test(heap): verify OOM profiles without requiring a crash - #444

Draft
BridgeAR wants to merge 1 commit into
mainfrom
BridgeAR/2026-11-19-oom-profile-test
Draft

BridgeAR wants to merge 1 commit into
mainfrom
BridgeAR/2026-11-19-oom-profile-test

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

V8 can reach the heap limit again during profile capture. The callback can grant temporary headroom even when the caller requests zero bytes. The fixture exits when it sees the limit rise, so requiring a fatal error fails even when the profile contains the expected stack.

Give the child a nonzero extension and require the allocation stack and a successful exit. Read the output after the child closes its stdio.

V8 can reach the heap limit again during profile capture. The callback
can grant temporary headroom even when the caller requests zero bytes.
The fixture exits when it sees the limit rise, so requiring a fatal
error fails even when the profile contains the expected stack.

Give the child a nonzero extension and require the allocation stack and
a successful exit. Read the output after the child closes its stdio.
@github-actions

Copy link
Copy Markdown

Overall package size

Self size: 2.78 MB
Deduped: 3.9 MB
No deduping: 3.9 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | pprof-format | 2.4.1 | 924.37 kB | 924.37 kB | | source-map | 0.8.0 | 185.66 kB | 185.66 kB | | node-gyp-build | 4.8.4 | 13.86 kB | 13.86 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@BridgeAR BridgeAR added the semver-patch Bug or security fixes, mainly label Nov 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Bug or security fixes, mainly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant