-
Notifications
You must be signed in to change notification settings - Fork 105
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
Maximum call stack, presumably due to my 3100 line long markdown file #358
Comments
I think I know what this is but I don't know how much I can do about it. The files needs to be loaded into memory and the AST needs to exist in memory as well because this mdsvex is primarily a preprocessor. It is probably the size of the AST that is causing an issue. I'll take a closer look and try to figure out exactly what the problem is, increasing the memory of the node process will probably fix this as a quick workaround. |
Do you think you could run that markdown file through a Lorem Ipsum converter like https://loremizr.monkeymatt.com/ (to remove any actual content in the file that you wouldn't want to share publicly) and then share the loremized file? Having access to that file's Markdown structure could be quite useful for testing. |
out of curiosity have you tried to reproduce with a generic lorum file with a massive amount of content? |
I ran into the same issue. If you patch the svelte compiler, it might resolve it for you. See sveltejs/svelte#4694 for more information. |
The issue is hopefully fixed now with the release of Svelte 3.46.4. Could you try again and check if it works now? |
Yes, for me it has! |
Don't ask why.
It's a glorious 138kb file
Tests I did:
This makes it likely a MDsveX issue
The text was updated successfully, but these errors were encountered: