1 2 Previous Next 15 Replies Latest reply on Jan 23, 2014 6:10 AM by Rohit Gupta

    Memory leak caused by retained instances of BeanManagerImpl / WeldInterceptorClassMetadata

    Rohit Gupta Newbie

      We use CDI extensively in our application.
      On performance testing, we see a lot of instances of WeldInterceptorClassMetaData retained in the heap.
      This is residing in the old generation and does not let the GC reclaim any memory. The application stops responding after this point

      The CDI scopes used in the application -
      RequestScope
      SessionScope
      ViewScope

      We also use a lot of CDI injection

       

      Would love any pointers as haven't been able to turn up anything on this so far.

        1 2 Previous Next