Skip to content
Alex0007Public

About

Autotriggers garbage collection in node application

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

gc-auto

Triggers garbage collection task if --expose-gc provided to node process

Usage

require('gc-auto')

// your code that consumes memory here

then $ node --expose-gc my-file.js

You also can pass interval parameter to gc-auto like this

require('gc-auto')(3000) // every 3 seconds

About

Autotriggers garbage collection in node application

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages