title: Spring Boot application- problem with java.lang.OutOfMemoryError: GC overhead limit exceeded
body: <p>My SpringBoot app have a problem with <code>java.lang.OutOfMemoryError: GC overhead limit exceeded</code>. </p>
  
  <p>I can see log as below:</p>
  
  <pre><code>  Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: GC overhead limit exceeded.
  </code></pre>
  
  <p>Additionally, cpu  is very high when I working in the application(99%).
  I think that it is conected with XMX. So how can I check the xmx size set for this application? Or is the problem in something else?
  Thanks in advance! </p>