RE: -verbose:gc

2004-01-22 Thread Allistair Crossley
i'm guessing a garbage collect reclaimed 64896K and the first two numbers are the 
before and after? 

[GC 28827K-22937K(64896K), 0.0062130 secs]

ADC

-Original Message-
From: Derek Mahar [mailto:[EMAIL PROTECTED]
Sent: 22 January 2004 15:04
To: Tomcat Users List
Subject: -verbose:gc


Would someone please decipher the following line in
$CATALINA_HOME/logs/catalina.out?

[GC 28827K-22937K(64896K), 0.0062130 secs]

Thank you,

Derek

-
Derek Mahar
Software Developer
Penson Financial Services Canada
360 St-Jacques St West, 12th Floor
Montreal QC  H2Y 1P5
514.841.9665 x212 Phone
514.841.3750 Fax
-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: -verbose:gc

2004-01-22 Thread Denis Haskin
See http://java.sun.com/docs/hotspot/gc1.4.2/index.html#2.2. 
Measurement|outline

dwh

Derek Mahar wrote:

Would someone please decipher the following line in
$CATALINA_HOME/logs/catalina.out?
[GC 28827K-22937K(64896K), 0.0062130 secs]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: -verbose:gc

2004-01-22 Thread Ralph Einfeldt

The used memory has changed from  28827K to 22937K.
(~6 have been freed)
The total memory is 64896K.
It took 6.2 ms to perform the gc.

 -Original Message-
 From: Derek Mahar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 4:04 PM
 To: Tomcat Users List
 Subject: -verbose:gc
 
 Would someone please decipher the following line in
 $CATALINA_HOME/logs/catalina.out?
 
 [GC 28827K-22937K(64896K), 0.0062130 secs]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: -verbose:gc

2004-01-22 Thread Ralph Einfeldt
Sorry little typo:

(~6MB have been freed)


 -Original Message-
 From: Ralph Einfeldt 
 Sent: Thursday, January 22, 2004 4:08 PM
 To: Tomcat Users List
 Subject: RE: -verbose:gc
 
 
 
 The used memory has changed from  28827K to 22937K.
 (~6 have been freed)
 The total memory is 64896K.
 It took 6.2 ms to perform the gc.
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: -verbose:gc

2004-01-22 Thread Francois JEANMOUGIN


 -Original Message-
 From: Derek Mahar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 4:04 PM

 Would someone please decipher the following line in
 $CATALINA_HOME/logs/catalina.out?
 
 [GC 28827K-22937K(64896K), 0.0062130 secs]

A GC (not a Full GC) freed 6MB of unused garbage memory. Your Jvm currently have 64MB 
of memory allocated (Sun Jvm with default parameters, probably), and your application 
uses about 22937K (only a full GC will give you the exact value used at a time), you 
could increase it by using ms and mx parameters, but your application really don't 
need it at this step.

François.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: -verbose:gc

2004-01-22 Thread Shapira, Yoav

Howdy,
With one addition: it was an incremental (or young generation) garbage
collection, not a full one.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 10:10 AM
To: Tomcat Users List
Subject: RE: -verbose:gc

Sorry little typo:

(~6MB have been freed)


 -Original Message-
 From: Ralph Einfeldt
 Sent: Thursday, January 22, 2004 4:08 PM
 To: Tomcat Users List
 Subject: RE: -verbose:gc



 The used memory has changed from  28827K to 22937K.
 (~6 have been freed)
 The total memory is 64896K.
 It took 6.2 ms to perform the gc.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: -verbose:gc

2004-01-22 Thread Derek Mahar
Thank you for your replies.

Does my most recent garbage collector report conflict with what top reports for the 
memory size of the Tomcat JVM process?  The garbage collector indicates that the JVM 
consumes 64 MB, but top reports that the actual process size is 127 MB:

[GC 54170K-52843K(64896K), 0.1261600 secs]

  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
  605 tomcat25   0  127M 127M 31524 S 1.1 25.4   5:10 java

I have set CATALINA_OPTS=-server -Xms64m -Xmx128m -Xss128k -verbose:gc.

Derek

-Original Message-
From: Francois JEANMOUGIN [mailto:[EMAIL PROTECTED] 
Sent: January 22, 2004 10:14 AM
To: Tomcat Users List
Subject: RE: -verbose:gc




 -Original Message-
 From: Derek Mahar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 4:04 PM

 Would someone please decipher the following line in 
 $CATALINA_HOME/logs/catalina.out?
 
 [GC 28827K-22937K(64896K), 0.0062130 secs]

A GC (not a Full GC) freed 6MB of unused garbage memory. Your Jvm currently have 64MB 
of memory allocated (Sun Jvm with default parameters, probably), and your application 
uses about 22937K (only a full GC will give you the exact value used at a time), you 
could increase it by using ms and mx parameters, but your application really don't 
need it at this step.

François.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: -verbose:gc

2004-01-22 Thread Shapira, Yoav

Howdy,

Does my most recent garbage collector report conflict with what top
reports
for the memory size of the Tomcat JVM process?  The garbage collector
indicates that the JVM consumes 64 MB, but top reports that the actual
process size is 127 MB:

It won't hurt to search the archives for the differences between
OS-level memory reporting tools, like top and the windows task manager,
and executable-level tools (the JVM in this case).  This has been
discussed and explained many times in the past.

There's no conflict as the two are not expected to agree.  The top
command includes overhead space far beyond the heap.  Your GC snapshot
sent to the list earlier is just that: the portion of the heap currently
handled by the garbage collector.  The heap could've grown right after
the snapshot you sent to the list.  There are also parts of the JVM
taking memory not shown on the verbose:gc output, and then there's the
OS-level memory consumption beyond the JVM itself.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]