Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1478

possible memory leak in HttpConversationContextImpl

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          Public project attachment banner

            context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
            current Project key: WELD

            People

              marko.luksa@gmail.com Marko Luksa (Inactive)
              sgavulla Shyam Gavulla (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: