-
Notifications
You must be signed in to change notification settings - Fork 529
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
Compilation infinite loop leaking memory #1276
Comments
Oh, I've found the root cause. It happens when you add |
@benwilson512 why did you close it as completed? Reopen please |
@benwilson512 ping |
Hi @hissssst sorry when you indicated that you found the root cause I took that to mean that you had solved the issue. Are you asking Absinthe to detect such cases proactively and raise an error? |
Yes, exactly. This is even in the issue
|
Environment
Expected behavior
Compilation successful or raises an error
Actual behavior
Compilation stuck with
Compiling lib/app_web/api/schema.ex (it's taking more than 10s)
until consumes all available memory and gets killed by OOMRelevant Schema/Middleware Code
I would like to share the details if you can point to what can I share. I have a huge and private gql project where this is happening, and I just don't know what should I share. The diff which breaks the code has introduced a few unions, objects, enums and one
import_types
and relay connection without anything specialThe text was updated successfully, but these errors were encountered: