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

10x memory increase from v0.13 -> v0.14 #350

Closed
eltontian opened this issue Feb 3, 2025 · 3 comments
Closed

10x memory increase from v0.13 -> v0.14 #350

eltontian opened this issue Feb 3, 2025 · 3 comments

Comments

@eltontian
Copy link

eltontian commented Feb 3, 2025

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

@pkucmus
Copy link

pkucmus commented Feb 10, 2025

Are you talking about https://github.com/mirumee/ariadne-codegen? If so this is not the right place for this issue.

@pkucmus pkucmus transferred this issue from mirumee/ariadne Feb 11, 2025
@bombsimon
Copy link
Contributor

Seems like @eltontian already opened #348 here an hour after this one so I think this can be closed?

@eltontian
Copy link
Author

Ah apologies, realized I posted on the wrong repo

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

3 participants