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

[Bug]: Memory Leak in Dev Server Causing System to Run Out of Application Memory #8976

Open
Fausto95 opened this issue Jan 8, 2025 · 0 comments
Assignees

Comments

@Fausto95
Copy link

Fausto95 commented Jan 8, 2025

Version

System:
    OS: macOS 14.6.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 119.66 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Safari: 17.6
  npmPackages:
    @rsbuild/[email protected]
    @rsbuild/[email protected]

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.

Image

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

  1. pnpm install
  2. pnpm start:web
  3. Keep on applying changes to /apps/rnw/src/App.js
  4. Use Activity Monitor and observe the continuous increase in memory usage for the rsbuild-node process
@9aoy 9aoy transferred this issue from web-infra-dev/rsbuild Jan 9, 2025
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