Skip to content

Instantly share code, notes, and snippets.

@maleck13
Created March 6, 2015 14:51
Show Gist options
  • Save maleck13/7d2992265380037d66d8 to your computer and use it in GitHub Desktop.
Save maleck13/7d2992265380037d66d8 to your computer and use it in GitHub Desktop.
java opts
# Memory Settings
JAVA_OPTS="$JAVA_OPTS -Xms100m -Xmx2048m -XX:MaxPermSize=256m"
# Define some MilliCore parameters
JAVA_OPTS="$JAVA_OPTS -Dfeedhenry.node=node01 -Dfh.cluster.config=/etc/feedhenry/core/cluster-config.properties -Dfh.logdir=/var/log/feedhenry"
# JDWP debugging
JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9000,suspend=n"
# bind to external interface
JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address.management=192.168.33.10"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment