undici <v6.16.0 memory ballooning bug (original) (raw)

Operating System

macOS

Browser Version

Firefox

Firebase SDK Version

10.13.0

Firebase SDK Product:

Auth

Describe your project's tooling

React, Next.js

Describe the problem

The undici dependency contains a code path that, starting with Node 20.16.0, results in memory leaks (in our experience significant). See nodejs/undici#3445 and nodejs/node#54274 for details about the issue.

Upgrading undici to v6.19.6 or later, will include the fix. As of yet the fix does not appear to be backported to v5 which this repository uses.

Steps and code to reproduce issue

See nodejs/undici#3445 for more details.