I'm writing a web server application using NodeJS 6.3.0.
the application is executed with --expose-gc
parameter, so I have the global.gc()
function available. the question is how can I know when the manual execution of the garbage collector completed.
is global.gc() a synchronous function and that means that the next line of code will be executed when the function completed it task?
can I somehow monitor when my specific execution of garbage collector completed?
thanks!