Skip to content
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

Memory leak in SSR #2225

Closed
pearofducks opened this issue Sep 24, 2020 · 1 comment
Closed

Memory leak in SSR #2225

pearofducks opened this issue Sep 24, 2020 · 1 comment
Labels
🐞 bug Something isn't working scope: ssr

Comments

@pearofducks
Copy link

Version

3.0.0

Reproduction link

https://github.com/pearofducks/vue-ssr-memory-leak

Steps to reproduce

  1. Run yarn in both the rc5 and gm dirs
  2. Run node test.js in the rc5 dir - note the two ENDING numbers reported
  3. Run node test.js in the gm dir - note the two ENDING 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.

@posva posva added scope: ssr 🐞 bug Something isn't working labels Sep 28, 2020
@posva
Copy link
Member

posva commented Sep 28, 2020

Thanks for the boiled down repro!

@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: ssr
Projects
None yet
Development

No branches or pull requests

2 participants