2 Replies Latest reply on Dec 23, 2003 2:16 PM by fgao

    JBoss garbage collection

    fgao Newbie

      Hi there,

      I ran JBoss 306 on JRE1.4.2. I saw JBoss process did full garbage collection every 1 minute, even when there were enough memory. Does JBoss call System.gc() every 1 minute? If so, can I disable it? I prefer let JRE to decide when GC is needed. Here is a GC log from JBoss process.

      Any help is greatly appreciated.


      1709.229: [Full GC 1709.229: [ParNew: 1847K->0K(8128K), 0.0086591 secs]1709.238: [CMS: 8962K->8784K(122880K), 0.8938120 secs] 10785K->8784K(131008K), [CMS Perm : 14615K->14614K(65536K)], 0.9030568 secs]
      1770.145: [Full GC 1770.145: [ParNew: 3519K->0K(8128K), 0.0100990 secs]1770.156: [CMS: 9068K->8879K(122880K), 0.9037817 secs] 12541K->8879K(131008K), [CMS Perm : 14628K->14628K(65536K)], 0.9146189 secs]
      1831.065: [Full GC 1831.065: [ParNew: 4099K->0K(8128K), 0.0156442 secs]1831.081: [CMS: 9075K->8942K(122880K), 0.9223004 secs] 13138K->8942K(131008K), [CMS Perm : 14636K->14636K(65536K)], 0.9386849 secs]
      1892.021: [Full GC 1892.021: [ParNew: 5350K->0K(8128K), 0.0153238 secs]1892.037: [CMS: 9210K->8989K(122880K), 0.9176794 secs] 14518K->8989K(131008K), [CMS Perm : 14644K->14644K(65536K)], 0.9336271 secs]
      1952.976: [Full GC 1952.976: [ParNew: 7513K->0K(8128K), 0.0183874 secs]1952.995: [CMS: 9234K->8878K(122880K), 0.9735822 secs] 16677K->8878K(131008K), [CMS Perm : 14647K->14582K(65536K)], 0.9925895 secs]
      2014.044: [Full GC 2014.045: [ParNew: 1765K->0K(8128K), 0.0126585 secs]2014.057: [CMS: 9102K->8873K(122880K), 0.9220023 secs] 10854K->8873K(131008K), [CMS Perm : 14591K->14591K(65536K)], 0.9352426 secs]
      2074.987: [Full GC 2074.988: [ParNew: 7683K->0K(8128K), 0.0183504 secs]2075.006: [CMS: 9100K->8881K(122880K), 0.9722814 secs] 16718K->8881K(131008K), [CMS Perm : 14596K->14596K(65536K)], 0.9912567 secs]