Skip to content

Instantly share code, notes, and snippets.

@james-huston
Created February 2, 2016 15:08
Show Gist options
  • Save james-huston/d34c8c0e2b66246a0f24 to your computer and use it in GitHub Desktop.
Save james-huston/d34c8c0e2b66246a0f24 to your computer and use it in GitHub Desktop.
generic node with controlled GC
node --gc_global --optimize_for_size --max_old_space_size=960 --use_idle_notification --always_compact --max_executable_size=64 --gc_interval=100 --expose_gc server.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment