Skip to content

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

Open
@fabis94

Description

@fabis94

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions