How to Increase cPanel Memory for Java TomCat

In order to increase memory limit for Java, perform the following steps, edit the file:


Insert the following 2 lines:


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
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.