hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1341727 - /incubator/hama/trunk/bin/hama
Date Wed, 23 May 2012 02:22:01 GMT
Author: edwardyoon
Date: Wed May 23 02:22:01 2012
New Revision: 1341727

URL: http://svn.apache.org/viewvc?rev=1341727&view=rev
Log:
Remove hardcoded Java opt

Modified:
    incubator/hama/trunk/bin/hama

Modified: incubator/hama/trunk/bin/hama
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/bin/hama?rev=1341727&r1=1341726&r2=1341727&view=diff
==============================================================================
--- incubator/hama/trunk/bin/hama (original)
+++ incubator/hama/trunk/bin/hama Wed May 23 02:22:01 2012
@@ -86,13 +86,12 @@ if [ "$JAVA_HOME" = "" ]; then
 fi
 
 JAVA=$JAVA_HOME/bin/java
-JAVA_HEAP_MAX=-Xmx1000m 
 
 # check envvars which might override default args
 if [ "$HAMA_HEAPSIZE" != "" ]; then
   #echo "run with heapsize $HAMA_HEAPSIZE"
   JAVA_HEAP_MAX="-Xmx""$HAMA_HEAPSIZE""m"
-  #echo $JAVA_HEAP_MAX
+  echo $JAVA_HEAP_MAX
 fi
 
 # CLASSPATH initially contains $HAMA_CONF_DIR



Mime
View raw message