Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: small v8 memory leak, reuse profiling titles #858

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

seemk
Copy link
Collaborator

@seemk seemk commented Dec 19, 2023

v8 internally caches profiling titles, by using a new profiling title every time the previous titles are kept in memory, leaking around 16 bytes each 30 seconds.

@seemk seemk requested review from a team as code owners December 19, 2023 09:04
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f299105) 86.22% compared to head (189362d) 86.22%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #858   +/-   ##
=======================================
  Coverage   86.22%   86.22%           
=======================================
  Files          19       19           
  Lines         668      668           
  Branches      153      153           
=======================================
  Hits          576      576           
  Misses         92       92           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seemk seemk merged commit 43170de into main Dec 19, 2023
129 checks passed
@seemk seemk deleted the fix-potential-cpuprofiler-leak branch December 19, 2023 09:20
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants