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
Potential memory leak of vue-tsc --noEmit -w
#1106
Comments
vue-tsc
watch modevue-tsc --noEmit -w
OMG :( |
Realise this has been closed, but I'm still noticing exactly the same behaviour on my system (using a docker container).
Making a change to any file makes |
Like @PatrickRose mentioned, I am observing the same memory leaking behavior (running within docker container). However, we are using the Configuration: ...
export default defineConfig({
plugins: [
...
checker({ vueTsc: true, enableBuild: false }),
],
...
|
@PatrickRose, @kevinvalk Thank for the report, can you reproduce this problem without docker? |
I think this is same problem: Command:
After multiple savings:
System info:
|
The same. |
@johnsoncodehk it is back again :'( exact same behavior as before and no significant changes in the setup. Versions:
|
Reproduction
pnpm create vite bug-vue-tsc
vue
andvue-ts
pnpm i vue-tsc@latest -D
NODE_OPTIONS='--max_old_space_size=700' pnpm exec vue-tsc --noEmit -w
App.vue
and wait for the watch process response.FYI: I tried setting
max_old_space_size
to 2000 but still crash about 18 times of modification. Usehtop
to inspect I find the memory of the process keeps growing 🤔.Expected behavior
Do not leak memory.
System info
Package manager
pnpm@^6
The text was updated successfully, but these errors were encountered: