You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mallet bash wrapper script misses an option to set Java heap size like most other scripts.
Other scripts have something like:
# Default Java heap size. Change with -Xmx800m as the first argument.
mem=200m
# If first argument is something like -Xmx900m, process appropriately
arg=`echo "$1"| sed -e 's/-Xmx//'`iftest$1!= $arg;then
mem=$argshiftfi
Another way to allow specifying memory would be:
# Set 1GB of memory if ${MALLET_MEMORY} is not defined
mem="${MALLET_MEMORY:-1g}"
# Run Mallet with 10GB of heap memory.
MALLET_MEMORY=10g ./bin/mallet
The text was updated successfully, but these errors were encountered:
Mallet bash wrapper script misses an option to set Java heap size like most other scripts.
Other scripts have something like:
Another way to allow specifying memory would be:
# Run Mallet with 10GB of heap memory. MALLET_MEMORY=10g ./bin/mallet
The text was updated successfully, but these errors were encountered: