You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, verification of Calcite codebase requires to bump -Xmx to 2g or something like that, and it turns out noticeable memory is taken by SimpleAnnotatedTypeScanner:
~ 50% of that was consumed by empty IdentityHashMap in SimpleAnnotatedTypeScanner
There are 72226 SimpleAnnotatedTypeScanner instances which are referenced from AnnotatedTypeMirror$... classes
The text was updated successfully, but these errors were encountered:
vlsi
changed the title
uninferredTypeArgumentScanner consumes significant amount of memory in AnnotatedTypeMirror
3.7.1: uninferredTypeArgumentScanner consumes significant amount of memory in AnnotatedTypeMirror
Nov 3, 2020
Apparently, verification of Calcite codebase requires to bump
-Xmx
to 2g or something like that, and it turns out noticeable memory is taken bySimpleAnnotatedTypeScanner
:checker-framework/framework/src/main/java/org/checkerframework/framework/type/AnnotatedTypeMirror.java
Lines 813 to 820 in 9dbf0c7
Could it be a static instance and/or
ThreadLocal
?NullnessAnnotatedTypeFactory
consumed ~50MiB~ 50% of that was consumed by empty
IdentityHashMap
inSimpleAnnotatedTypeScanner
There are 72226
SimpleAnnotatedTypeScanner
instances which are referenced fromAnnotatedTypeMirror$...
classesThe text was updated successfully, but these errors were encountered: