How To Increase Tomcat S Memory Allocation
For example, -Xmx512m allows maximum 512MB heap to be allocated for the JVM. To adjust this parameter, right click the My Computer icon, then choose the Advanced tab. Click the Environment Variables button: Create the CATALINA_OPTS variable, and set the desired value, for example “-server -Xmx256m“. If you are running on Linux or UNIX, go to the terminal and use the tomcat account by using sudo su – tomcat or a corresponding account name depending on your setup....