-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node 18.13 potential memory leak #46413
Comments
I think it's impossible to find where the memory is leaking without an example of what you are doing in your code |
it would be good if you gave the code you used to do this test, without it there is no way to replicate and locate the error |
We'll try to produce a minimum reproducible example as soon as we can :) |
Could this be related to #46435? |
Yes, one of the (few) task performed on a minute basis is a fetch. |
I agree, it's very likely that the culprit was fetch. Most elements in my heap snapshots that are not going away are fetch related, and the issue seems to only be present in the couple of endpoints that use undici's fetch |
I have similar issue, didnt verify it is from >18.12 but when i upgraded to node 18 from node 16 |
Version
18.13
Platform
linux/amd64
Subsystem
docker linux/amd64 alpine 3.17
What steps will reproduce the bug?
I only upgrade from 18.2 to 18.3
How often does it reproduce? Is there a required condition?
No specific condition
What is the expected behavior?
when I rolled back to
node:18.12
:What do you see instead?
Memory stats since the upgrade to
node:18.13
:Additional information
Code base very huge, not possible to exactly know where is the leak, we rolled back ASAP because our prod env was crashing.
I posted also an issue on the node docker github repo.
The text was updated successfully, but these errors were encountered: