title: Elastic Beanstalk behaviour On Out Of Memory Error
body: <p>If there is a OOME and the application crashes, what is the default behaviour of Elastic Beanstalk; does it restart the application?</p>
  
  <p>We have also put in <code>-XX:+ExitOnOutOfMemoryError JVM flag</code> to ensure it doesn't stay in a stuck state. </p>