We recently launched a project into production which uses JSF and CDI WELD. We are now seeing a possible memory leak or a code issue where the HttpConversationContextImpl is of size 500 MB. On further analysis, we found that the dependentInstances in CreationalContext is taking up all the space with 1337867 instances of SerializableContextualInstanceImpl with each of retained heap size of 352. I am not sure how this is object is growing in size , but the application slowly crashes in production.
We were using 2.0.0 Final and I saw the SP1 patch for it based on issue WELD 1425. I upgraded the weld-serlvet.jar to use 2.0.3 Final, but the issue still persists.