From oracle-l-bounce@freelists.org Fri Jul 22 12:32:39 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j6MHWdmG002154 for ; Fri, 22 Jul 2005 12:32:39 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j6MHWUIP002138 for ; Fri, 22 Jul 2005 12:32:30 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 28FB41D7705; Fri, 22 Jul 2005 12:32:15 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02414-03; Fri, 22 Jul 2005 12:32:15 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 99DF41D7706; Fri, 22 Jul 2005 12:32:14 -0500 (EST) X-BigFish: V X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C58EE3.09919446" Subject: RE: Monitoring memory usage by Java process Date: Fri, 22 Jul 2005 10:30:21 -0700 Message-ID: <65C0D8935651CB4D96E97CEFAC5A12B9962D2B@wafedixm10.corp.weyer.pri> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Monitoring memory usage by Java process Thread-Index: AcWOwFq6bXiI1GxLTeW4y68HyR4HgwAIYntw From: "Khemmanivanh, Somckit" To: , "Oracle Discussion List" X-OriginalArrivalTime: 22 Jul 2005 17:30:22.0750 (UTC) FILETIME=[0A107BE0:01C58EE3] X-archive-position: 22828 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: somckit.khemmanivanh@weyerhaeuser.com Precedence: normal Reply-To: somckit.khemmanivanh@weyerhaeuser.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-mailscan-MailScanner-Information: Please contact the ISP for more information X-mailscan-MailScanner: Found to be clean X-MailScanner-From: oracle-l-bounce@freelists.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,HTML_50_60, HTML_FONTCOLOR_BLUE,HTML_MESSAGE autolearn=no version=2.63 ------_=_NextPart_001_01C58EE3.09919446 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm not a Oracle Java person but on most of the JVMs I've seen there are initialization parameters that you can set to enable verbose garbage collection logging and output. =20 1 such param is -verbose:gc and -Xloggc:verbosegc.log . The Xloggc parameter is simplay a filename where the GC information is written to. =20 There are some docs on Sun's Java site for interpreting garbage collection information or search Google. =20 =20 =20 =20 =20 Thanks!=20 =20 ________________________________ From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of rjamya Sent: Friday, July 22, 2005 6:21 AM To: Oracle Discussion List Subject: Monitoring memory usage by Java process does anyone know a way to identify how momory is used by a java process? On one of our servers, a process keeps hogging memory to a stage where we kill it. Whereas on a similar instance, it is well behaved. Since it is java I am not on java cluetrain. The databases are 9204. Raj=20 ------------------------------ select standard_disclaimer from company_requirements where category =3D 'MANDATORY'; ------_=_NextPart_001_01C58EE3.09919446 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I'm not a Oracle Java person but on most of the = JVMs I've=20 seen there are initialization parameters that you can set to enable = verbose=20 garbage collection logging and output.
 
1 such param is  -verbose:gc and  -Xloggc:verbosegc.log . The Xloggc parameter = is simplay=20 a filename where the GC information is written=20 to.
 
There are some docs on Sun's Java site for = interpreting=20 garbage collection information or search=20 Google.
 
 
 
 
 

Thanks!

 


From: oracle-l-bounce@freelists.org=20 [mailto:oracle-l-bounce@freelists.org] On Behalf Of=20 rjamya
Sent: Friday, July 22, 2005 6:21 AM
To: = Oracle=20 Discussion List
Subject: Monitoring memory usage by Java=20 process

does anyone know a way to identify how momory is used by a = java=20 process? On one of our servers, a process keeps hogging memory to a = stage where=20 we kill it. Whereas on a similar instance, it is well = behaved.

Since it=20 is java I am not on java cluetrain. The databases are=20 9204.
Raj 
------------------------------
select=20 standard_disclaimer from company_requirements where category =3D=20 'MANDATORY';
------_=_NextPart_001_01C58EE3.09919446-- -- http://www.freelists.org/webpage/oracle-l