In order to increase the memory limit for Java, perform the following steps, create a new file:
nano /var/cpanel/tomcat.options
Insert the following 2 lines:
Xmx200M
Xms100M
Where Xmx is the upper limit and Xms is the lower limit. You have to replace the values as per your requirement. Save the file and restart the tomcat service:
/scripts/restartsrv tomcat