Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev server memory leak #628

Closed
hahagu opened this issue Jan 2, 2025 · 4 comments
Closed

Dev server memory leak #628

hahagu opened this issue Jan 2, 2025 · 4 comments

Comments

@hahagu
Copy link

hahagu commented Jan 2, 2025

Using bun run dev seems to be causing a memory leak.
When running an output build via doing bun ./output/server/index.mjs does not seem to be affected,

@hahagu
Copy link
Author

hahagu commented Jan 2, 2025

Image

This is run with the command: bun --inspect .\node_modules\nuxt\bin\nuxt.mjs dev, and is what I suspect to be the issue.
I have a memory heap json from it, but I cannot upload here because of size constraints.

@hahagu
Copy link
Author

hahagu commented Jan 2, 2025

Using nuxi dev --inspect,

Image

@hahagu
Copy link
Author

hahagu commented Jan 2, 2025

Seems to be an issue with the devtools.
Setting devtools: { enabled: false }, seems to consistently fix the issue.

@TheAlexLichter
Copy link
Member

Closing in favor of nuxt/devtools#761

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants