The tomcat plugin cache processing can change the CATALINA_OPTS variable in the catalin.bat batch file:
in:
SET CATALINA_OPTS= -Xms64m -Xmx512m; ms is the smallest, mx is the largest, 64m, 512m refer to the memory capacity respectively
It is also possible to set the CATALINA_OPTS variable in the environment variables, but this is OK in the development environment, if the registry is to be changed in the system service environment:
Modify the registry HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager\Tomcat5\Parameters\JavaOptions
to -Dcatalina.home="C:\ApacheGroup\Tomcat 5.0" -Djava.endorsed.dirs="C:\ApacheGroup\ Tomcat 5.0\common\endorsed"
-Xrs added -Xms300m -Xmx350m
Restart the tomcat service, the settings will take effect