Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) -l and -d enable asserts now
low012ae334c7b83c6
diff --git a/startYACY.sh b/startYACY.shindex 2f0415559..6678dda99 100755--- a/startYACY.sh+++ b/startYACY.sh@@ -5,6 +5,10 @@ LOGFILE="yacy.log"PIDFILE="yacy.pid"OS="`uname`"+#get javastart args+JAVA_ARGS="-server -XX:+UseAdaptiveSizePolicy";+#JAVA_ARGS="-verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails $JAVA_ARGS";+#check if OS is Sun Solaris or one of the OpenSolaris distributions and use different version of id if necessaryif [ $OS = "SunOS" ]then@@ -67,6 +71,8 @@ for option in $options;do;;-l|--logging)LOGGING=1+ # enable asserts+ JAVA_ARGS="$JAVA_ARGS -ea"if [ $DEBUG -eq 1 ];thenecho "can not combine -l and -d"exit 1;@@ -74,6 +80,8 @@ for option in $options;do;;-d|--debug)DEBUG=1+ # enable asserts+ JAVA_ARGS="$JAVA_ARGS -ea"if [ $LOGGING -eq 1 ];thenecho "can not combine -l and -d"exit 1;@@ -98,10 +106,6 @@ done#echo $options;exit 0 #DEBUG for getopts-#get javastart args-JAVA_ARGS="-server -XX:+UseAdaptiveSizePolicy";-#JAVA_ARGS="-verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails $JAVA_ARGS";-#check if Linux system supports large memory pages or if OS is Solaris which#supports large memory pages since version 9#(according to http://java.sun.com/javase/technologies/hotspot/largememory.jsp)