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

@vue/apollo-composable causes memory leak in SSR #1583

Open
fabis94 opened this issue Jan 9, 2025 · 3 comments
Open

@vue/apollo-composable causes memory leak in SSR #1583

fabis94 opened this issue Jan 9, 2025 · 3 comments

Comments

@fabis94
Copy link
Contributor

fabis94 commented Jan 9, 2025

Describe the bug
@vue/apollo-composable causes memory leak in SSR, enough said I think

To Reproduce
Install latest version (4.2.1) in your SSR app (e.g. Nuxt) and invoke any of the loading tracking utilities: useQueryLoading, useMutationLoading or any of the other ones.

Then trigger a bunch of requests and you'll see your memory is gonna be slowly filling up - voila you have a leak!

Expected behavior
no memory leak

Versions
vue: 3.5.1
vue-apollo: 4.2.1
@apollo/client: 3.12.4

Additional context
Add any other context about the problem here.

@fabis94
Copy link
Contributor Author

fabis94 commented Jan 9, 2025

fix: #1582

@TomHeinemeyer
Copy link

fix: #1582

Hey @Akryum, when can we expect this to be included in a release? The company project I am working on has issues with this and we would really appreciate this fix 🙏

@fabis94
Copy link
Contributor Author

fabis94 commented Mar 7, 2025

@TomHeinemeyer we ended up publishing a fork with this fix merged in, you can use it if you like for the time being: @speckle/[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants