zenstack generate
JavaScript heap out of memory (v2 alpha)
#1064
Labels
zenstack generate
JavaScript heap out of memory (v2 alpha)
#1064
Description and expected behavior
Hi again, I have continued playing with the v2 alpha and may have run into an accidental stress test causing a crash due to heap memory.
I will post my zschema below. It is perhaps too big or too complex with all the relations / polymorphic relationships and may be an edge case, but I just wanted to bring this to your attention.
Prisma and zod schemas generate successfully but the PrismaClient enhancer does not. It runs for a few minutes and then crashes with the output shown. I have tried removing various combinations of models and I could get it to work sometimes, but with this schema, I was able to reproduce a crash each time.
Output:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: