I am running a Tomcat8 server on linux (RedHat). The machine it runs on has a total of 15GB Ram of which i want to allocate 11GB to the tomcat server. Currently it only has 3.3GB avaialable for use.
I have openjdk 64 bit installed.
i tried to set the
-d64 -Xms256m -Xmx12g
It seems that catalina.sh is either no longer existent in the latest tomcat release or it has something to do with the fact that i am using a amazon vm and they have some kind of modified tomcat8 distribution what i would doubt.
usr/share/tomcat8/conf/ there is a
Adding the row
JAVA_OPTS="-Xms1g -Xmx12g" did the trick.