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

Large JSON file conversion to a syntax tree never completes #6

Open
cmittendorf opened this issue Mar 23, 2021 · 1 comment
Open

Large JSON file conversion to a syntax tree never completes #6

cmittendorf opened this issue Mar 23, 2021 · 1 comment

Comments

@cmittendorf
Copy link

Hi!
I've tried to use your Syntax and SyntaxTree packages for creating myself a viewer for JSON files. These files that I want to inspect can become quite large, more than a megabyte in size with 50.000 lines of code. I'm using the JSON parser from the projects unit tests. But when I try to execute

JSONParser().syntaxTree(jsonString)

it never completes. Smaller files work fine - but these large files never complete. I stopped a test after 20 minutes. However, it's not sucking up memory. The memory usage was constant and not growing. Do you have any idea what could be the reason? Why does the conversion to a SyntaxTree never complete?

@doozMen
Copy link

doozMen commented Sep 26, 2022

I have similar results unfortunately

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

2 participants