-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
Labels
Description
Version
Reproduction link
https://codesandbox.io/s/nuxt-apollo-smart-query-bug-v585k
Steps to reproduce
- Install apollo-module for Nuxt;
- Use a Smart query in a page.
What is expected ?
The GarbageCollector can free up the memory after every page reload.
What is actually happening?
Visiting pages with Smart query cause the memory to continue to grow up without stopping.
After ~ 15000 urls (depends on how much HTML there is in page) the server is out of memory.
Additional comments?
Using apolloProvider.defaultClient.query in asyncData it's ok.
There's a library installed in the demo to bulk-test urls, 'npm run siege'. With that it's possible to see the memory growing up.