I am having issues with a Tomcat service that crashes (stops responding to requests) and needs to be sigkill'd and restarted every few days. My graphing shows that HEAP memory usage gets to about 3gb during the peaks and this is the most obvious symptom of the issue. From what I have read, adding in Xmx max memory limit for jvm is what dictates how much HEAP can be allocated. Xmx is set to over 10gb.
I have also played around with the argument MaxPermSize to no avail. I think this setting defines memory allocation for some application memory usage, but afaik it is different to HEAP memory itself.
Now I am wondering if there is an alternate setting I can pass in that defines the /actual/ HEAP memory limit? Otherwise, any tips on investigating the problem would be good, as I can't positively say it is memory limits being hit and the error logs do not show much.