2

JVM version: Oracle Java 6 update 45

GC analysis seems to show that the concurrent garbage collector is taking some action on a 24-hour cycle that causes strange behavior, where there are more and more New Space GCs when new space seems to have a lot of free space -- does anybody know if this garbage collector has some daily activity that would cause a pause every 24 hrs? Perhaps some in-depth daily sweep that totally locks down the heap like a serial garbage collector? Perhaps the garbage collector is tuning itself?

Greg Mattes
  • 30,462
  • 13
  • 66
  • 103

1 Answers1

1

I have not heard of any automatic 24h cleanup cycles built into the Hotspot's Parallel GC, I would be surprised if there was any such feature.

To rule out the automatic tuning, try -XX:-UseAdaptiveSizePolicy this will disable automatic GC ergonomy changes.

Then, I would suggest detail GC logging and class histogram printing in those intervals where you observe the 24-hour hiccup. Also, taking thread dumps during the hiccup could help you to rule out the possibility that it is introduced by your application.

Aleš
  • 8,370
  • 7
  • 59
  • 102