Skip to content

TLSWrap leaking huge amounts of memory #3047

Closed
@arthurschreiber

Description

@arthurschreiber

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:

image

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.

schnappschuss_092415_102505_am

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)

//cc @indutny @ChALkeR

Metadata

Metadata

Assignees

No one assigned

    Labels

    memoryIssues and PRs related to the memory management or memory footprint.tlsIssues and PRs related to the tls subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions