Skip to content

Memory leak in deno #722

@sveisvei

Description

@sveisvei

Describe the bug

Hello, We have been running unleash-client-node in Deno for quite a while, and are seeing a steady memory leak for each fetch/poll request. If I increase the polling to each second, it grows and is reproducible in a short time.

Steps to reproduce the bug

1.set up a long running process
2. initiate unleash
3. wait, and see memory increase

Expected behavior

Looks for me to be some retention of objects via make-fetch-happen, its not freed.

Logs, error output, etc.

Screenshots

Image Image

Additional context

I can work on a fix, but would like to discuss a bit first.
Should this project even target deno?

Unleash version

No response

Subscription type

Open source

Hosting type

Self-hosted

SDK information (language and version)

No response

Metadata

Metadata

Labels

Type

No type

Projects

Status

Investigating

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions