You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand this is a bug report and questions should be posted in the Community Forum
I searched issues and couldn’t find anything (or linked relevant results below)
Steps to reproduce
I get huge memory leaks with latest version of @tus/server with @tus/s3-store while using node 20.3.
Function AbortSignal.any has a memory leak in early versions. It was added in v20.3.0.
The bug is in node itself but has severe effects on users of @tus/server. This issues is discussed here.
I'm not ready to do a major version right now as I want to get some other things in for that as well so I'd say we remove AbortSignal.any, it's only used once afaik anyway.
Initial checklist
Steps to reproduce
I get huge memory leaks with latest version of
@tus/server
with@tus/s3-store
while usingnode 20.3
.Function
AbortSignal.any
has a memory leak in early versions. It was added inv20.3.0
.The bug is in node itself but has severe effects on users of
@tus/server
. This issues is discussed here.Fix is available in v23.1.0 and v22.12.0.
What can we do?
v22.12.0
(this would still leave users ofv23.0.0
susceptible to this issue).v23.1.0
(it is not a LTS version)AbortSignal.any
and with it avoiding all problemsAny thought on this?
Expected behavior
No memory leak :)
Actual behavior
Server crash even when handling a single 25GB file.
I get this output from
node
when it crashes.The text was updated successfully, but these errors were encountered: