Syntax icon indicating copy to clipboard operation
Syntax copied to clipboard

Large JSON file conversion to a syntax tree never completes

Open cmittendorf opened this issue 5 years ago • 1 comments

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?

cmittendorf avatar Mar 23 '21 21:03 cmittendorf

I have similar results unfortunately

doozMen avatar Sep 26 '22 22:09 doozMen