Skip to content

memory leak when using this codec #6

@seiyria

Description

@seiyria

relevant packages:

    "sc-codec-min-bin": "^3.0.0",
    "socketcluster": "^14.3.2",
    "socketcluster-client": "^14.2.1",

With this turned on, my application gets a big memory leak - up to 4GB browser tab memory usage in chrome. Turning it off brings it down to the normal 130k that it was using before. It seems to hold onto strings erroneously. A bit of the heap snapshot before fixing looks like so:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions