Open LiuShiYi1027 opened 1 year ago
When I use kotlinx.ast in a server process, the process Out Of Memory, I found that org.antlr.v4.kotlinruntime.atn.ATNConfig object has a large number of instance counts, and the process would be crashed.
so how can l clear it.
I found there is a same problem: https://stackoverflow.com/questions/28017135/why-antlr4-parsers-accumulates-atnconfig-objects
but I do not know how i fixed it.
When I use kotlinx.ast in a server process, the process Out Of Memory, I found that org.antlr.v4.kotlinruntime.atn.ATNConfig object has a large number of instance counts, and the process would be crashed.
so how can l clear it.
I found there is a same problem: https://stackoverflow.com/questions/28017135/why-antlr4-parsers-accumulates-atnconfig-objects
but I do not know how i fixed it.