You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting threads: true (the default) a full rebuild (as happens when you press ctrl+s in the config file) leaks memory. The amount of memory is proportional to the amount of test files/source files present.
Reproduction
Here is a minimal reproduction that uses a very large snapshot to inflate memory usage.
Run vitest and make sure to have threads enabled
Navigate to the vite.config.ts file and press ctrl+s many times
Describe the bug
When setting
threads: true
(the default) a full rebuild (as happens when you press ctrl+s in the config file) leaks memory. The amount of memory is proportional to the amount of test files/source files present.Reproduction
Here is a minimal reproduction that uses a very large snapshot to inflate memory usage.
vitest
and make sure to have threads enabledvite.config.ts
file and pressctrl+s
many timesnode
process increaseSystem Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: