0 Replies Latest reply: Apr 24, 2011 8:07 AM by 838525 RSS

    RTGC

    838525
      I use -Xmx1G -Xms1G but after a while RTGC works all the time. At start I have 10% load on CPU but later 100% load on CPU.

      I can see RTGC can recover very little memory. Why GC recover little memory, what stops GC recoving more memory?



      here is the output of one RTGC:

      GC Started 409.031392
      14899K->14458K(512000K, non fragmented: current 497541K / min 497100K / worst 497100K, biggest 495616K, blocked threads: max 0 / still blocked 0 requesting 0K, dark matter: 9147K in 73986 blocks smaller than 2048 bytes) <completed without boosting> {CPU load: 1.77 recycling / 0.00 since last GC}
      Mem drop statistics: 0M, avg 0M for last 3 stable iterations, std_dev 0M, goal 100000000 => RTGC should start at 100000000

      GC cycle stats:
      RTGC completed in normal mode (2 CPUs at priority 30)
      End free bytes: 509482784 bytes
      Min free bytes: 513703968 bytes
      Next boosted threshold: 100000000 bytes
      Next normal threshold: 350000000 bytes
      Allocations during the GC:
      in deterministic mode: 0 bytes (worst 0 bytes, average 0 bytes)
      in boosted+deterministic modes: 0 bytes (worst 0 bytes, average 0 bytes)
      in normal+boosted+deterministic modes: 0 bytes (worst 236448 bytes, average 78816 bytes)
      Total CPU cost: 50825920 nanoseconds
      Pacing CPU cost: 92067 (0 %)
      Serial CPU cost: 2084628 (4 %)
      Parallel worker_0 CPU cost: 25786904 (50 %)
      Parallel worker_1 CPU cost: 22861469 (44 %)
      Bytes allocated by critical threads:
      in deterministic mode: 0 bytes
      total for this cycle: 0 bytes
      grand total: 28672 bytes
      Minimum RTGCCriticalReservedBytes: 0 bytes
      GC End 409.482784