Where do you set these parameters for Cpanel? I've tried editing /usr/sbin/startcpanel as well as adding -Xmx1024m -Xms1024m" into the /var/cpanel/tomcat.options and nada.. i'm not used to this jsvc and for some reason resin decided to crash apache everytime i start it.