Skip to content

Increased memory usage in nodejs version 20.16.0 due to fetch()Β #54274

@BridgeAR

Description

@BridgeAR

Discussed in https://github.com/orgs/nodejs/discussions/54248

Originally posted by SteffenHo August 7, 2024
We saw a massive increase in memory in our next.js application after updating to version 20.16.0. We build our application with docker and the 20-alpine image. Other users were also able to confirm this problem: https://www.reddit.com/r/node/comments/1ejzn64/sudden_inexplicable_memory_leak_on_new_builds/

image

We then switched to version 20.15.1 and the memory returned to normal.

Maybe someone else could confirm this problem too?

@ronag could you have a look into this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    fetchIssues and PRs related to the Fetch APImemoryIssues and PRs related to the memory management or memory footprint.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions