Repository 'je_clip'
hg clone https://toolshed.g2.bx.psu.edu/repos/gbcs-embl-heidelberg/je_clip

Changeset 1:dfacabbde112 (2015-11-26)
Previous changeset 0:101525093ba1 (2015-11-25) Next changeset 2:b61628ae2371 (2016-12-07)
Commit message:
use _JAVA_OPTIONS to set default memory limit
modified:
je
b
diff -r 101525093ba1 -r dfacabbde112 je
--- a/je Wed Nov 25 12:37:01 2015 -0500
+++ b/je Thu Nov 26 08:59:38 2015 -0500
b
@@ -7,9 +7,12 @@
 # path to jar file to execute, this jar is supposed to be in the same dir as this script
 JAR_FILE=$DIR"/je_1.0_bundle.jar"
 
-OPTS="-Xmx2g"
-# uncomment to change logging level using your own log4j.xml found in $DIR file 
-# OPTS=$OPTS" -Dlog4j.configuration=file:$DIR/log4j.xml"
+# set default _JAVA_OPTIONS
+_JAVA_OPTIONS=${_JAVA_OPTIONS:-'-Xmx4G -Xms256m'}
+export _JAVA_OPTIONS
+
+# uncomment to change logging level using your own log4j.xml found in $DIR file
+# OPTS="-Dlog4j.configuration=file:$DIR/log4j.xml"
 
 java $OPTS -jar $JAR_FILE "$@"
 exit $?