Open
Description
Environment
- Operating System: Linux
- Node Version: v20.15.0
- Nuxt Version: 3.14.1592
- CLI Version: 3.16.0
- Nitro Version: 2.10.4
- Package Manager: pnpm@9.11.0
- Builder: -
- User Config: default
- Runtime Modules: -
- Build Modules: -
(tested with node v20.18.1 too)
Reproduction
- Initialize fresh nuxt project:
npx nuxi@latest init project
- Build and launch with --inspect:
pnpm i && pnpm build && node --expose-gc --inspect .output/server/index.mjs
-
Launch chrome inspect on chrome://inspect
-
Launch 10000 request with ab:
ab -n 10000 -c 100 -k http://localhost:3000/
-
Garbage collector and take a snapshot 1
-
Relaunch 10000 request with ab:
ab -n 10000 -c 100 -k http://localhost:3000/
-
Garbage collector and take a snapshot 2
-
Compare snapshot
Describe the bug
I see multiple object (maybe generated by unhead ?) that are still present between snapshot 1 and 2
Additional context
Maybe cause by #281, but i'm not sure