title: How to prevent a Spring Boot / Tomcat (Java8) process be OOM-killed?
body: <p>Since moving to Tomcat8/Java8, now and then the Tomcat server is OOM-killed. OOM = Out-of-memory kill by the Linux kernel.</p>
  
  <p><strong>How can I prevent the Tomcat server be OOM-killed?</strong> </p>
  
  <p>Can this be the result of a memory leak? I guess I would get a normal Out-of-memory message, but no OOM-kill. Correct? </p>
  
  <p>Should I change settings in the HEAP size? 
  Should I change settings for the MetaSpace size? </p>
  
  <p>Knowing which Tomcat process is killed, how to retrieve info so that I can reconfigure the Tomcat server? </p>