Skip to content

Instantly share code, notes, and snippets.

@RELATO
Created July 27, 2015 14:02
Show Gist options
  • Save RELATO/ba6010233ac394ce745b to your computer and use it in GitHub Desktop.
Save RELATO/ba6010233ac394ce745b to your computer and use it in GitHub Desktop.
# adicionar as linhas abaixo apos os comentarios iniciais do arquivo
#
# /opt/tomcat/bin/catalina.sh
#
# Utilizando o jrockit, temos que excluir os parametros PermSize e MaxPermSize
#PARAMETROS OPCIONAIS RELATO
CATALINA_OPTS="-server -Dfile.encoding=ISO-8859-1 $CATALINA_OPTS"
export CATALINA_OPTS
#JAVA_OPTS="-server -Djava.awt.headless=true -Duser.language=pt -Duser.region=BR -Xms512m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m"
JAVA_OPTS="-server -Djava.awt.headless=true -Duser.language=pt -Duser.region=BR -Xmx1024m "
export JAVA_OPTS
#FIM DOS PARAMETROS OPCIONAIS RELATO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment