Skip to content

org.antlr.v4.kotlinruntime.atn.ATNConfig object has a large number of instance counts, OOM #102

@LiuShiYi1027

Description

@LiuShiYi1027
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions