-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
generate hangs on "Build Template" and never Completes #206
Comments
After 30 minutes, it finally failed. Here's the output:
|
Hi, thanks for raising this issue. I have experienced this problem before with another extremely large API. I am currently working on some improvements for the speed, but I must admit that even with that, I'm not sure it's going to be able to generate such a large website. Possible there are some improvements possible in svelte kit to avoid re-rendering redondant stuff like the navbar, but I'm not fully sure. I'll have to look into it . |
I'll take a dive into the codebase and see if I can find some good opportunities for optimizations. Do you recommend investigating any specific areas? |
Well in my opinion, the two slowest things are probably the navbar generation (because it's redundant) and the query generator . But I've never actually benchmarked the steps to know what was slowest. If you could take some time to look at it that would be awesome! |
Hi, I also get this error recently. It was working before.
|
@mostafa-rz I believe this is an issue in carbon library that was fixed recently. carbon-design-system/carbon-components-svelte#1704 The project has already been updated but it hasn't been released yet. Let me see if I can release that. |
@mostafa-rz alright, I release 3.6.4, it should fix your issue. |
I am working with a GraphQL API with over 8000 types. Absolutely crushed my macbook memory 😂 To get through it, I was able to increase the node heap size by using the following.
|
Describe the bug
Just set up magidoc and haven't been able to get it to work. Running my API locally, it has a very large schema with many auto-generated input and output types by
typegraphql-prisma
.When I run
generate
, it seems to get stuck on theBuild Template
stage. I've waited > 20 minutes and nothing is happening.Reproduction
Magidoc config:
Project is private so I'm unable to share schema, but I can provide counts of queries, mutations, and types:
Logs
The text was updated successfully, but these errors were encountered: