you can modify the jvm parameters of an application in catalina.sh by declaring JAVA_OPTS, at the beginning of tomcat. Here are two places I do not quite understand, ask the bosses to advise:
1. If you set the jvm maximum heap memory limit to 2G here, do all war in the tomcat share 2G, or can each war have 2G independently?
2.tomcat itself is a program running on jvm, so how to adjust its own jvm parameters?