If you are running Tomcat as a service, please change the memory settings as per the following steps,
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.