How to increase java memory in tomcat
Resolution:
Memory Settings for Tomcat as service:
If you are running Tomcat as a service, please change the memory settings as per the following steps,
- Stop Tomcat Service if it is up.
- Go to -> %TOMCAT_HOME%/bin.
- Search for tomcat(version number)w.exe (for e.g. tomcat9w.exe) and run it.
- Under the Java tab change the following properties-
- Initial Memory Pool: 1024 MB
- Maximum Memory Pool:2048 MB
- Start Tomcat Service.
Note: If Maximum Memory Pool size is 2048 MB then increase it to 4096 MB.
For more information, you can refer to the section 7.3.4 Tomcat Memory Settings in the AE_Installation guide.