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 java.lang.OutOfMemoryError: GC overhead limit exceeded, we restarted service and it was working fine later after 1 more week we received same error again.
This service was running earlier in another server which was having less configuration than the new one.
We never encountered this error in the old server.
This service runs with jre provided with the software.
"%JAVA_HOME%\bin\java" -server -Xms256M -Xmx256M,
Does increasing values of Xms and XmX will resolve GC Overhead limit problem.