Setting up Tomcat Java_OPT in Catalina,
First of all, in the Installer tomcat application you will never recognize the catalina file in the bin folder.
To set the parameters, you must use the tomcate property (use tomcate property for this volume)
Having no idea how to set the parameter in the properties file.
In the catalina file :( write something like that)
JAVA_OPTS="-Djava.awt.headless=true -Xms2048m -Xmx4048m -XX:NewSize=1024m -XX:MaxNewSize=2048m -XX:PermSize=1024m -XX:MaxPermSize=2048m -XX:+DisableExplicitGC"
In the Tomcate properties file :( add your parameter to Java options: just like in the picture)

Jubin patel
source share