Skip to content

Memory leak in Image Optimization #23189

@Pythe1337N

Description

@Pythe1337N

What version of Next.js are you using?

10.0.9

What version of Node.js are you using?

14.15.5

What browser are you using?

Chrome

What operating system are you using?

alpine (docker image)

How are you deploying your application?

express server

Describe the Bug

Upgrading from 10.0.7 to 10.0.8 or 10.0.9 results in a server side memory leak when using the component.
Consumes over 1GB of memory after only 10-20 image optimizations.

Expected Behavior

Memory usage should be normal.

To Reproduce

Import Image from 'next/image' and use it as the the documentation says https://nextjs.org/docs/api-reference/next/image with an allowed external image source.
In this case layout="fixed" was used.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions