Después de comprobar catalina.sh (para utilizar windows las versiones .bat de todo lo mencionado más adelante)
# Do not set the variables in this script. Instead put them into a script
# setenv.sh in CATALINA_BASE/bin to keep your customizations separate.
también este
# CATALINA_OPTS (Optional) Java runtime options used when the "start",
# "run" or "debug" command is executed.
# Include here and not in JAVA_OPTS all options, that should
# only be used by Tomcat itself, not by the stop process,
# the version command etc.
# Examples are heap size, GC logging, JMX ports etc
Por lo tanto, cree un setenv.sh en CATALINA_BASE/bin (mismo directorio donde reside catalina.sh). Edite el archivo y establezca los argumentos en CATALINA_OPTS
Por ej. el archivo se vería como esto si usted quiere cambiar el tamaño del montón
CATALINA_OPTS=-Xmx512m
o en su caso, ya que se está utilizando Windows setenv.bat sería
set CATALINA_OPTS=-agentpath:C:\calltracer\jvmti\calltracer5.dll=traceFile-C:\calltracer\call.trace,filterFile-C:\calltracer\filters.txt,outputType-xml,usage-uncontrolled -Djava.library.path=C:\calltracer\jvmti -Dcalltracerlib=calltracer5
Para borrar las opciones añadidas más tarde sólo eliminar setenv.bat/sh
Al menos en Tomcat 7, esto no es el lugar recomendado para personalizaciones. De 'catalina.sh':" No establezca las variables en este script. En su lugar, colóquelas en un script setenv.sh en CATALINA_BASE/bin para mantener sus personalizaciones separadas ". Además, como señala Mitch, 'CATALINA_OPTS' es la variable más canónica para almacenar esto. –
Para expandir en setenv.sh, aquí hay una entrada de ejemplo:' export CATALINA_OPTS = "$ CATALINA_OPTS -XX: MaxPermSize = 256m" '(this aumentaría el tamaño máximo de la permanente). – idaWHALE