Skip to content

--gc-interval is allocation based and not time based#52

Merged
avivkeller merged 1 commit intonodejs:mainfrom
whoisstan:patch-1
Apr 24, 2026
Merged

--gc-interval is allocation based and not time based#52
avivkeller merged 1 commit intonodejs:mainfrom
whoisstan:patch-1

Conversation

@whoisstan
Copy link
Copy Markdown
Contributor

node --v8-options
...
--gc-interval (garbage collect after allocations)
type: int default: --gc-interval=-1

node --v8-options
...
  --gc-interval (garbage collect after <n> allocations)
        type: int  default: --gc-interval=-1


Signed-off-by: Stan Wiechers <150920+whoisstan@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nodejs-learn Ready Ready Preview Apr 15, 2026 1:28pm

Request Review

Comment thread pages/diagnostics/memory/understanding-and-tuning-memory.md
Copy link
Copy Markdown

@ayankhan18 ayankhan18 left a comment

Choose a reason for hiding this comment

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

great

@avivkeller avivkeller merged commit 65aa98b into nodejs:main Apr 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants