c# - ANTLR3 Reduce memory usage -
i have written parser in antlr3. targets both java , csharp3. both using lot of memory @ parse time. files parsing have size between 5 , 40 mb. memory usage far beyond that, iirc correctly .net memory profiler showed peak of on 600mb. grammar file has 500 lines. need output generated injected code in grammar. not need lexer tokens in memory or ast.
is there can do? antlr4 address memory usage issues?
Comments
Post a Comment