Details
-
Bug
-
Status: Resolved
-
Highest
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
7025
Description
Examination of a heap dump has shown that the ANTLR-generated code uses default-sized ArrayLists to store child nodes. This is quite inefficient where we typically have small number of children.
Since we have to parse the listener tree multiple times, and need the memory for our real state, we need to make sure we squash these lists to their minimum required memory.