Memory leak in SSR
Version
3.0.0
Reproduction link
https://github.com/pearofducks/vue-ssr-memory-leak
Steps to reproduce
- Run
yarn
in both therc5
andgm
dirs - Run
node test.js
in therc5
dir - note the twoENDING
numbers reported - Run
node test.js
in thegm
dir - note the twoENDING
numbers reported
What is expected?
Some memory should be reclaimed by the gm
run after the SLEEPING
step
What is actually happening?
No memory is reclaimed
This is my best approximation of what we're seeing in a much more complicated SSR environment. When we change dependencies (and only the Vue-specific dependencies) from the 3.0.0-rc.5
release to 3.0.0
we see a very clear memory leak.