diff options
author | Andrew Chen | 2015-05-30 15:51:17 +1200 |
---|---|---|
committer | Andrew Chen | 2015-05-30 15:56:03 +1200 |
commit | fab75f5ecffd655704100097c8b0b1537e5b4d1e (patch) | |
tree | 1207df50dd6e4068136f059756298825eb8ab356 /weka.sh | |
download | aur-fab75f5ecffd655704100097c8b0b1537e5b4d1e.tar.gz |
Initial import
Diffstat (limited to 'weka.sh')
-rwxr-xr-x | weka.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/weka.sh b/weka.sh new file mode 100755 index 000000000000..7b70a33d9966 --- /dev/null +++ b/weka.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +# Note: the '-Xmx1g' flag is used to set the maximum memory that the java +# program is allowed. When working with large data sets, this number may need +# to be increased based on how much memory you wish to allow weka to have. +# Specifying command line arguments will override the defaults shown here. +# Example: '-Xmx2g' +DEFAULT_ARGS='-Xms32m -Xmx1g' + +if [ $# -gt 0 ]; then + ARGS="$@" +else + ARGS="$DEFAULT_ARGS" +fi + +java $ARGS -jar /usr/share/java/weka/weka.jar |