Skip to content

Commit b768f82

Browse files
author
mgeipel
committed
Increased heap for flux scripts
1 parent 8f160fe commit b768f82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/scripts/flux.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
java -jar "%~dp0${project.build.finalName}.jar" %*
2+
java -Xmx512M -jar "%~dp0${project.build.finalName}.jar" %*

src/main/scripts/flux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ dir=`dirname $0`
55
jarfile="${project.build.finalName}.jar"
66

77
if uname | grep -iq cygwin; then
8-
java -jar "`cygpath -am $dir/$jarfile`" $*
8+
java -Xmx512M -jar "`cygpath -am $dir/$jarfile`" $*
99
else
10-
java -jar "$dir/$jarfile" $*
10+
java -Xmx512M -jar "$dir/$jarfile" $*
1111
fi
1212

1313

0 commit comments

Comments
 (0)