rspack icon indicating copy to clipboard operation
rspack copied to clipboard

[Bug Report]: Unbelievable memory usage, even 16+8GB swap is not enough.

Open tuchg opened this issue 2 years ago • 0 comments

System Info

System: OS: Linux 6.0 Arch Linux CPU: (16) x64 AMD Ryzen 7 4800U Memory: 12.68 GB / 15.00 GB Container: Yes Binaries: Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm npmPackages: @rspack/cli: workspace:* => 0.1.0

Details

After cloning the repository, I tried to run the rspack test and my vscode crashed. Upon checking htop, I found that the memory was overloaded. Afterwards, I tried adding an 8GB swap file, but it still couldn't meet the requirements of rspack.

Reproduce link

No response

Reproduce Steps

to exec cargo test in rspack repo

tuchg avatar Mar 11 '23 07:03 tuchg