0 Replies Latest reply on Oct 21, 2013 5:45 AM by 938489

    0.2145s for FGC and 0.0511s for YGC

    938489

      We have a java application which I can say utilises quite a number string variables too. In addition we started it with both max and initial memory set  as 256Mb. Thereafter it ran for sometime till lately we found that first it was one GC and after nearly 2 weeks another one more GC. Thus we found the average of FC is 0.2145s and YGC is 0.0511s. We are not sure it these values are suitable or leading to something else? We decided to increase the memory to 512Mb and also looking into some other GC setting such as the CMS settings? Should also optimise on the codes such as usage of the String variables? Normally what are object  or variables type will move into the Old Objects ?

       

      [code]

      Timestamp     S0      S1     E     O      P      YGC    YGCT      FGC FGCT   GCT
        
      2752472.6  69.74   0.00   3.67  51.72  44.17   4614  235.630   2   0.429  236.059
        
      2752477.6  69.74   0.00   5.38  51.72  44.17   4614  235.630   2   0.429  236.059
        
      2752482.6  69.74   0.00   7.51  51.72  44.17   4614  235.630   2   0.429  236.059
        
      2752487.6  69.74   0.00   9.52  51.72  44.17   4614  235.630   2   0.429  236.059
        
      2752492.6  69.74   0.00  10.55  51.72  44.17   4614  235.630   2   0.429  236.059

      [/code]