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

support RSPACK_WORKER_THREADS to limit CPU core count #8302

Open
hardfist opened this issue Oct 31, 2024 · 1 comment
Open

support RSPACK_WORKER_THREADS to limit CPU core count #8302

hardfist opened this issue Oct 31, 2024 · 1 comment
Labels
stale team The issue/pr is created by the member of Rspack.

Comments

@hardfist
Copy link
Contributor

Trying to make migration poc for the large code base and due to some legacy codebase we are experiencing initial build takes some time. It is fine, but at some stage of build rspack seems excessively occupies CPU (or ram) usage makes other system activites feel hang - literally whole UI stops and hourglass icon appears around 20~30sec.

I'm curious if there's a way to set the limit for the CPU core count or similar, so it may take longer but won't block system use while dev waiting for it.

Originally posted by @kwonoj in #8276

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Oct 31, 2024
Copy link

stale bot commented Dec 30, 2024

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@stale stale bot added the stale label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

No branches or pull requests

1 participant