-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
[Bug]: Memory Leak in Dev Server Causing System to Run Out of Application Memory #8976
Comments
I can report the same issue with rspack, I use |
Not sure how to reproduce this amount of memory consumption, but I found there might be something related to memory reseting in mimalloc. I changed memory semantic from |
@h-a-n-a I'm ready to test possible fixes as just running dev server for a while increases memory consumption for me, it wasn't a problem in v1 |
@uladzimirdev Do you mind adding a reproducible demo? What version of rspack do you use that doesn't have this issue? You may also try @rspack-canary/[email protected] |
Version
Details
While using
rsbuild dev
, I encountered a significant memory leak that caused the system to run out of application memory. This issue makes the system unstable and forces the user to quit applications to free up resources.CodeSandbox: https://codesandbox.io/p/github/Fausto95/react-native-web-rsbuild/main?import=true
Reproduce link
https://github.com/Fausto95/react-native-web-rsbuild
Reproduce Steps
pnpm install
pnpm start:web
/apps/rnw/src/App.js
Activity Monitor
and observe the continuous increase in memory usage for thersbuild-node
processThe text was updated successfully, but these errors were encountered: