You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We measured the Ariadne generated module after upgrading to v0.14, and we realize memory of the module increased from 400MB -> 4GB after upgrading from v0.13 to v0.14.
We would like to use ClientForwardRefs in v0.14, but the memory increase between v0.13 and v0.14 is untenable.
Any ideas what might be causing this and how to avoid this?
Verified on python 3.9 and 3.10 and 3.11 and 3.12
The text was updated successfully, but these errors were encountered:
That's surprising given the few changes according to the changelog. I don't have any suggestions from the top of my head but curious since I wrote the plugin, is the memory increase the same with and without the ClientForwardRefs plugin?
Also curious given the performance issues the plugin aimed to solve, are you using the same version of pydantic with the generated clients from v0.13 and v0.14?
I don't know how you did your tests but did you try a smaller repro to se if it's still the same? Already 400MB seems like quite a lot, would you see the same change from 1MB -> 10MB? Maybe something you could test on one of the generated clients from the tests?
We measured the Ariadne generated module after upgrading to v0.14, and we realize memory of the module increased from 400MB -> 4GB after upgrading from v0.13 to v0.14.
We would like to use ClientForwardRefs in v0.14, but the memory increase between v0.13 and v0.14 is untenable.
Any ideas what might be causing this and how to avoid this?
Verified on python 3.9 and 3.10 and 3.11 and 3.12
The text was updated successfully, but these errors were encountered: