update server options
This commit is contained in:
parent
6794ef320e
commit
c562d58ca9
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ cd "$(dirname "$0")"
|
|||
# java -cp brouter.jar btools.brouter.RouteServer <segmentdir> <profile-map> <customprofiledir> <port> <maxthreads> [bindaddress]
|
||||
|
||||
# maxRunningTime is the request timeout in seconds, set to 0 to disable timeout
|
||||
JAVA_OPTS="-Xmx128M -Xms128M -Xmn8M -DmaxRunningTime=300"
|
||||
JAVA_OPTS="-Xmx256M -Xms16g -Xmn256M -DmaxRunningTime=300"
|
||||
|
||||
# If paths are unset, first search in locations matching the directory structure
|
||||
# as found in the official BRouter zip archive
|
||||
|
@ -28,4 +28,4 @@ if [ ! -e "$CUSTOMPROFILESPATH" ]; then
|
|||
CUSTOMPROFILESPATH="../customprofiles"
|
||||
fi
|
||||
|
||||
java $JAVA_OPTS -cp $CLASSPATH btools.server.RouteServer "$SEGMENTSPATH" "$PROFILESPATH" "$CUSTOMPROFILESPATH" 17777 1 $BINDADDRESS
|
||||
java $JAVA_OPTS -cp $CLASSPATH btools.server.RouteServer "$SEGMENTSPATH" "$PROFILESPATH" "$CUSTOMPROFILESPATH" 17777 12 $BINDADDRESS
|
||||
|
|
Loading…
Reference in a new issue