Step 1 - Check Java memory ---
1. Go to C:\Program Files\Apache Software Foundation\Tomcat 9.0\bin folder
2. Click on tomcat9w.exe
3. Go to Java and put maximum memory (Half of RAM) ----- apply ----ok
Note - Stop Tomcat before changes.
Step 2 - Remove Java Auto update ---
1.Go to control panel
2.Then click on Java -
3. Go to update --- Remove Check box --- apply --- ok