February 22, 2005

Garbage collection tuning

Follow-up to Garbage collection and Hibernate performance tuning from Kieran's blog

Some of the changes I was making to the GC settings were not really making the different I thought they should be. More or less every minute on the dot, there was a full GC, which is far too often.

We had known for a while that there is a default full GC interval of 1 minute for RMI GC.


The above will set the intervals to be an hour. However…it turns out that everywhere we had it set we had "gcinterval" without the capital I :(

Change the variable to be the capital I and all of a sudden the per minute full GC's are gone! Sigh.

Analysing the throughput with the very handy GCViewer showed that it had gone from a poor 86% up to 97%, with full GC's probably only every 5 minutes or more.

Now that the stupid RMI interval problem is fixed, I should be able to more reliably tune the GC even further.

- One comment Not publicly viewable

  1. Ian Johnson

    I find -XX:+DisableExplicitGC works very well

    06 Dec 2005, 23:24

Add a comment

You are not allowed to comment on this entry as it has restricted commenting permissions.

February 2005

Mo Tu We Th Fr Sa Su
Jan |  Today  | Mar
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27


Search this blog

Most recent comments

  • One thing that was glossed over is that if you use Spring, there is a filter you can put in your XML… by Mathew Mannion on this entry
  • You are my hero. by Mathew Mannion on this entry
  • And may all your chickens come home to roost – in a nice fluffy organic, non–supermarket farmed kind… by Julie Moreton on this entry
  • Good luck I hope that you enjoy the new job! by on this entry
  • Good luck Kieran. :) by on this entry


Not signed in
Sign in

Powered by BlogBuilder