Skip to content

Commit

Permalink
set memory limits
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter K committed Nov 11, 2017
1 parent abff5e1 commit 54170e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gate-server.cmd
Expand Up @@ -2,4 +2,4 @@

IF "%GATE_HOME%" == "" SET GATE_HOME=.

java -Xmx1g -Xms256m -cp "%GATE_HOME%/bin/gate.jar;%GATE_HOME%/lib/*;gate-server.jar" gate.server.Main
java -Xmx8g -Xms512m -cp "%GATE_HOME%/bin/gate.jar;%GATE_HOME%/lib/*;gate-server.jar" gate.server.Main
2 changes: 1 addition & 1 deletion gate-server.sh
Expand Up @@ -4,4 +4,4 @@ if [ "$GATE_HOME" == "" ]; then
GATE_HOME=.
fi

java -cp "$GATE_HOME/bin/gate.jar:$GATE_HOME/lib/*:gate-server.jar" gate.server.Main $1
java -Xmx8g -Xms512m -cp "$GATE_HOME/bin/gate.jar:$GATE_HOME/lib/*:gate-server.jar" gate.server.Main $1

0 comments on commit 54170e2

Please sign in to comment.