web-infra-dev / rspack

A fast Rust-based web bundler πŸ¦€οΈ

Home Page:https://rspack.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: after some build watches, memory crashes, as something leaks and grows in ram

VanderSP opened this issue Β· comments

System Info

windows 11, powershell

Details

if i remember it started to happens after 0.6.4 ~

Reproduce link

No response

Reproduce Steps

Just work for example 1 hour at medium/high saving frequency... build watch mode...
at some point you will hit

start Compiling...
● Client ━━━━━━━━━━━━━━━━━━━━━━━━━ (1%) make
memory allocation of 150994944 bytes failed

commented

Would you please create a minimal reproduction? If it's an internal project or it's hard to create a repro, please paste the configuration being used.

ItΒ΄s a nice idea, anytime i will try to make some project and trigger a lot of build watches

Sorry not managed yet a repro, but maybe its not ram... but disk... when i break the build watch process after a while, i reclaim 6gb of space, maybe hitting low disk, because i always run low on disk, round ~6 ~8gb free... but why itΒ΄s accumulating?

not sure why this happens, perhaps you can try to disable the virtual memory setting of windows 11