Skip to content

memory leak issue #113

@yiminghe

Description

@yiminghe

Describe the bug
memory leak

Expected behavior
no memory leak

To Reproduce
open https://github.com/kyle-mccarthy/nest-next/tree/master/examples/basic change package.json scripts

{
  "start": "NODE_OPTIONS='--inspect' NODE_ENV=production node .next/production-server/src/main.js"
}

run

npm i -g autocannon
npm run start

run

autocannon -c 100 -d 60 -p 1 "http://localhost:3000/"

then take snapshot using chrome://inspect

run

autocannon -c 100 -d 60 -p 1 "http://localhost:3000/"

again and take snapshot using chrome://inspect

you can compare and see memory leak:

iShot_2024-10-25_18 40 08

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions