Re: Java Garbage Collection
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 23:04:59 -0400
Tim.Docis@xxxxxxxxxxxxx wrote:
Need to be able to find out how to set the type of Garbage Collection
we are using on our win 2003 server. JDK1.5 installed. Running Apache
Tomcat5. JConsole shows we have PS MarkSweep and PS Scavenge as GC's.
Does anyone know how to change this? (Duplicate other servers are
using "Copy" and "MarkSweepCompact" as Garbage Collectors...dont know
how there is a difference...
Also, does anyone know how to switch the JIT compiler between HotSpot
Client and HotSpot Server compiler?
Arne Vajhøj wrote:
It is controlled via parameters to the Java command. So check the
startup command.
<http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html>
<http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html>
For tuning GCs:
<http://java.sun.com/performance/reference/whitepapers/tuning.html>
The information there is a little old. Snoop around the Java 6 docs for new options.
GC options, and command-line options generally, vary with the JVM, not only between vendors but between releases from the same vendor.
--
Lew
.
- Prev by Date: Re: Swing Question: Dynamic Labels
- Next by Date: Re: remote, parallel data processing
- Previous by thread: Re: Formatting of strings
- Next by thread: Re: file output in java : Notepad gives weird results
- Index(es):
Relevant Pages
|
|