AME stops responding when we get Out of memory issue:
Log Details: 08.05.2015 02:57:23.899 *ERROR* [10.9.91.251 [1431070180006] HEAD /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Original error class java.lang.Exception java.lang.Exception: Wrapping Throwable: java.lang.OutOfMemoryError: GC overhead limit exceeded
Please suggest me what could be the reasons and how to fix it.