See http://java.sun.com/javase/6/docs/technotes/guides/vm/server-class.html
"Starting with J2SE 5.0, when an application starts up, the launcher can attempt to detect whether the application is running on a "server-class" machine and, if so, use the Java HotSpot Server Virtual Machine (server VM) instead of the Java HotSpot Client Virtual Machine (client VM). The aim is to improve performance even if no one configures the VM to reflect the application it's running." however, "the i586 Microsoft Windows platform uses the client VM by default." so you need not specify -server unless you are running on Windows. > Date: Tue, 18 Sep 2007 08:46:36 -0700 > From: Doug Cutting <[EMAIL PROTECTED]> > > Toby DiPasquale wrote: > > Why does Hadoop use the Client JVM? I've been told that you should > > almost never use the Client JVM and instead use the Server JVM for > > anything even remotely long-running. Is the Server JVM less stable? > > It doesn't specify the client JVM, rather it just doesn't specify the > server JVM (although one can easily do so by changing > conf/hadoop-env.sh). -- David J. Biesack SAS Institute Inc. (919) 531-7771 SAS Campus Drive http://www.sas.com Cary, NC 27513
