Can someone explain why my Node.js process takes more than the allocated memory?
I assigned 4G of memory to the Nodejs process (the maximum is supported on a 64-bit machine, according to the Nodejs document), but I saw the process touching 5.6g of RSS memory (the path above 4g that I assigned)
This is how I start the process
node -max-old-space-size=4096 processName.js
Here is what my TOP team shows (RSS @ 4.6g)

source
share