title: java.lang.OutOfMemoryError: GC overhead limit exceeded after the service gets executed for a week
body: <p>We have configured new server for our java applications and deployed one of the applications which runs on java. After a week we received error <strong>java.lang.OutOfMemoryError: GC overhead limit exceeded</strong>, we restarted service and it was working fine later after 1 more week we received same error again.</p>
  
  <p>This service was running earlier in another server which was having less configuration than the new one.</p>
  
  <p>We never encountered this error in the old server.</p>
  
  <p>This service runs with jre provided with the software.</p>
  
  <p>"%JAVA_HOME%\bin\java" -server -Xms256M -Xmx256M,</p>
  
  <p>Does increasing values of Xms and XmX will resolve GC Overhead limit problem.</p>