Issue:
Tomcat service could not start / java memory issue
Reason:
1. If Java head space error occurred
2. If we stop the tomcat service and try to restart it to tomcat services.
it shows the below error.
Solution:
Go to Start
-> Settings
-> Advance system settings
-> Advanced(tab)
-> Environment Variables
-> System variables
-> New
Variable name: _JAVA_OPTIONS
Variable value: -Xms1024M -Xmx9216M
1024- is initial memory pool
9216- is maximum memory pool
You can change both memories as per your requirement.
After this process, start the Tomcat service