469,336 Members | 5,950 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

Unexpected Full GC's?

I'm trying to track down a Java performance issue, and believe it may
be related to GC behavior. Quick background: j2se app server running
Caucho Resin 2.1.12, on RHEL3 with Sun JDK 1.4.2_04, modest number of
threads, serving approx 50-150 requests per second.

The system runs as expected until the first Full GC, which happens as
normal, when the heap has reached near full.

....
9235.733: [GC 777863K->768933K(780864K), 0.0228370 secs]
9236.850: [GC 779237K->779416K(780864K), 0.0259900 secs]
9236.876: [Full GC 779416K->168274K(780864K), 1.5076750 secs]
9241.554: [GC 217616K->212151K(780864K), 0.0139170 secs]
9241.677: [GC 221815K->172838K(780736K), 0.0124830 secs]
....

Then, it starts doing Full GC's *much* more frequently, every 30-300
seconds (notice that it was 9000 seconds before the first full GC),
and the heap isn't anywhere near full

....
9282.828: [GC 225917K->176877K(780992K), 0.0097920 secs]
9282.838: [Full GC 176877K->166557K(781120K), 1.0936260 secs]
9286.648: [GC 216409K->214382K(781248K), 0.0105110 secs]
....
9282.828: [GC 225917K->176877K(780992K), 0.0097920 secs]
9282.838: [Full GC 176877K->166557K(781120K), 1.0936260 secs]
9286.648: [GC 216409K->214382K(781248K), 0.0105110 secs]

This continues for the entire life of the application. As you'd
expect, this is significantly lowering throughput. I've tried all
sorts of jvm options, including DisableExplicitGC, even though I'm
pretty sure we aren't calling System.gc().

Any ideas??
Jul 17 '05 #1
0 3614

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Karl | last post: by
2 posts views Thread by Stephen Miller | last post: by
9 posts views Thread by Jeff Louie | last post: by
8 posts views Thread by Jim Michaels | last post: by
1 post views Thread by Bernd Hohmann | last post: by
4 posts views Thread by somank.sharma | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.