Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

-server flag: what does it do?

Thread view: 
Dirk Gomez - 27 Apr 2006 15:19 GMT
Hello out there,

I recently turned on the -server flag on a production system with
disastrous effects: the load rocketed up and the response times went
through the roof.

Here's what I use:

* Tomcat 4.1.30
* Solaris Sparc 7 with 2 GB RAM
* Java Standard Edition 1.4.0_01-b03
* Webapp running against Oracle 8.1.7.4

Can someone shed light on the -server flag or give me some pointers?

-- Dirk
Remon van Vliet - 27 Apr 2006 15:22 GMT
The -server (as opposed to the -client default) VM flag puts the VM in
"server mode". This roughly means it'll prioritize performance over startup
times and memory consumption. I've never ran into a situation where this
flag actually slows anything down once the application is properly started
up (which, like i said, takes longer). It will definately cause a bigger
memory load as it'll be more aggressive with inlining and other JIT-related
tricks. In short, -server flag almost always improves performance at the
cost of hardware resources and boot time.

Remon

> Hello out there,
>
[quoted text clipped - 12 lines]
>
> -- Dirk


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.