473,224 Members | 1,386 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

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 3799

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: kernelxu | last post by:
hi,everybody. I calling function setbuf() to change the characteristic of standsrd input buffer. some fragment of the progrem is: (DEV-C++2.9.9.2) #include <stdio.h> #include <stdlib.h> int...
5
by: Karl | last post by:
Hi, I have some code that will save the contents of a Rich Text Box in either a Text or Rich Text Format file. The code is using the SaveFileDialog and is working correctly. I have been...
2
by: Stephen Miller | last post by:
Can the CustomValidator be used to simply report unexpected errors, without requiring Client/Server validation? To explain, say you had a simple text box and button that did a Full-text Search of a...
11
by: VJ | last post by:
I have these functions in my application. FileInfo.CopyTo DirectoryInfo.Create File.Copy Directory.Create
9
by: Jeff Louie | last post by:
In C# (and C++/cli) the destructor will be called even if an exception is thrown in the constructor. IMHO, this is unexpected behavior that can lead to an invalid system state. So beware! ...
8
by: Jim Michaels | last post by:
C:\prj\quiz\withusers>php tareports.php PHP Parse error: syntax error, unexpected T_ELSE in C:\prj\quiz\withusers\tareports.php on line 205 this is the section of code. if (isset($row4)) {...
1
by: Bernd Hohmann | last post by:
I have a table with CHAR(8), CHAR(5), DOUBLE, DOUBLE, VARCHAR(40), DOUBLE, CHAR(1). This should be roundabout less than 100 bytes per row. The primary key is the CHAR(8)+CHAR(5). The table...
4
by: somank.sharma | last post by:
I am running an exe created in C. I need the full path (absolute path) of this exe. In the first argument of main, I am getting the exe name. How can I get the full path for this exe.
8
by: illuzion | last post by:
ok I keep getting this error: Parse error: syntax error, unexpected T_VARIABLE in /home/illuzion/public_html/BAMF/contactus.php on line 38 and this error is possibly on other lines could...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.