This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
agent-base leaks memory when it is required #22
Comments
vfernandestoptal
pushed a commit
to vfernandestoptal/node-agent-base
that referenced
this issue
Feb 17, 2019
vfernandestoptal
pushed a commit
to vfernandestoptal/node-agent-base
that referenced
this issue
Feb 17, 2019
vfernandestoptal
added a commit
to vfernandestoptal/node-agent-base
that referenced
this issue
Feb 17, 2019
vfernandestoptal
added a commit
to vfernandestoptal/node-agent-base
that referenced
this issue
Feb 17, 2019
Affects us here too: jestjs/jest#8248 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We've been narrowing down some memory leaks with
jest --detectLeaks
which uses the library weak internally. It looks likeagent-base
is leaking memory every time you require it.Repository with tests showing the the issue: https://github.com/shusson/agent-base-leak
Example:
I think this is caused by the monkey patching in https://github.com/TooTallNate/node-agent-base/blob/master/patch-core.js in combination with nodejs/node#8443.
The text was updated successfully, but these errors were encountered: