Skip to content

chore: split near oom file - #405

Merged
IlyasShabi merged 1 commit into
mainfrom
ishabi/split-near-oom-file
Sep 1, 2026
Merged

chore: split near oom file#405
IlyasShabi merged 1 commit into
mainfrom
ishabi/split-near-oom-file

Conversation

@IlyasShabi

Copy link
Copy Markdown

What does this PR do?:
Moves the near-OOM code out of heap.cc into a new near-oom.{hh,cc} files. No behaviour change and the moved code is identical, comments included.

Motivation:
heap.cc had grown into two unrelated concerns sharing a file. Splitting it makes each file readable on its own and gives the near-OOM code a place to grow without pushing the profiler API further apart.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Overall package size

Self size: 2.6 MB
Deduped: 3.3 MB
No deduping: 3.3 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | pprof-format | 2.3.1 | 504.33 kB | 504.33 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

@IlyasShabi IlyasShabi added the semver-patch Bug or security fixes, mainly label Sep 1, 2026
@IlyasShabi
IlyasShabi marked this pull request as ready for review September 1, 2026 12:32

@r1viollet r1viollet left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@szegedi szegedi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, it is indeed much clearer this way.

@IlyasShabi
IlyasShabi merged commit 90fbe2b into main Sep 1, 2026
70 of 72 checks passed
@IlyasShabi
IlyasShabi deleted the ishabi/split-near-oom-file branch September 1, 2026 15:07
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.

4 participants