Closed
Description
We recently upgraded our application to node 4.0 (and 4.1). During load and performance testing we recognized that memory usage is going through the roof.
Here's a graph that shows this:
Basically, with the start of the load test memory usage quickly climbed from ~150MB up to ~1GB and then stabilizing at 800MB.
I went ahead and took a heapdump and opened it in the Chrome Development Tools.
Here, you can see that ~400MB are used by 2 TLSWrap instances.
(EDIT: This is on 4.1, but we've seen this also on 4.0)