Re: Java Garbage Collection



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
.



Relevant Pages

  • RE: Use Group Policy Editor in XP to connect via DHCP?
    ... you can set a startup command on computers with netsh command ... MCSA Windows 2003 server ... of Windows XP Pro workstations to use an automatically assigned IP address ... There is a DHCP server that is configured and working. ...
    (microsoft.public.windows.group_policy)
  • Startup script: which one???
    ... I need to insert some startup command in a startup script, ... after the X server has been started and ideally before login. ...
    (alt.os.linux.suse)
  • Re: The Hole in Cerners Logic
    ... software chosen for the LSP projects is Windows only. ... I was a parent governor at my kids school for over 5 years and a new school was built during this period. ... One of the vendors in particular stood out as being excellent value for money, support and TCO over the lifetime of the system. ... However, this software was only available if we also bought their server, so we we were forced into buying from the other vendor. ...
    (comp.os.vms)
  • Re: SBS 2008 pricing - as of 05/18/08
    ... responses from 10 different sales vendors. ... R2 server and a Terminal Server, 5 CAL, and they wanted to be able to ... Oh, and with Volume License - SBS doesn't ship with Media, they don't ... Calling an illegal alien an "undocumented worker" is like calling a ...
    (microsoft.public.windows.server.sbs)
  • Re: Choosing to install turns off laptop. HD is untouched.
    ... vendors often design the systems around the assumption that the ... There may be tweaks in the OEM installation of the OS that ... I've seen server machines afflicted in the same way. ... High-end HP machines even have custom motherboards and a custom BIOS ...
    (freebsd-questions)