2 Replies Latest reply: Jan 9, 2013 10:37 AM by 983839 RSS

    Why oracle.jbo.server.QueryCollection consume so big Heap memory ?

    437457
      Hi All,

      Our ADF Application which is deployed into OAS 10.1.3.3, on peak load (250 users), is consuming so big heap memory on the JVM.

      I have used 3 JVM in one OC4J Instance, each with 3 GB Max Heap memory. But still, on peak load, the JVM is taking up all the heap, causing FULL GC , that end up with opmn restarting the JVM. too many full GC. The application is taking too big heap.

      As seen below, the oracle.jbo.server.QueryCollection of one entity : mycom.sales.model.entities.SalesorderHImpl is taking 1.5 GB memory ??

      Why this oracle.jbo.server.QueryCollection is not garbage collected even after the user session already expired ??
          Name       Objects               Retained Size  
      
          oracle.jbo.server.SparseArray
           2,194,896     46 %     1,877,860,976     75 % 
       
          mycom.sales.model.entities.SalesorderHImpl
           1,022,788     21 %     1,558,277,184     62 %
       
          oracle.jbo.server.EntityImpl[]
           1,022,782     21 %     1,558,267,944     62 %
       
          oracle.jbo.server.ViewRowStorage
           1,022,782     21 %     1,558,267,944     62 %
       
          oracle.jbo.pcoll.PCollection
           1,022,770     21 %     1,558,251,256     62 %
       
          oracle.jbo.server.QueryCollection
           1,022,770     21 %     1,558,251,256     62 %
      Do you have any clue about what causing this "memory leak" ?

      Thank you four your help,
      xtanto