milis/talimatname/genel/w/weka/weka.sh

17 lines
475 B
Bash
Raw Normal View History

2018-05-25 17:43:40 +02:00
#! /bin/sh
# Note: the '-Xmx2g' 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: '-Xmx4g'
DEFAULT_ARGS='-Xms32m -Xmx2g'
if [ $# -gt 0 ]; then
ARGS="$@"
else
ARGS="$DEFAULT_ARGS"
fi
java $ARGS -jar /usr/share/java/weka/weka.jar