Description
clearing the AnnotatedElementFactory after the deployment should help reducing the references to AnnotatedTypes.
In a medium scale webapp this frees up 1M pretty quickly. As a side effect it enables us to later drop not explicitly (via annotation or extension) @Dependent scoped beans.