SAP Knowledge Base Article - Public

2406669 - SAP Analytics Cloud gives "GC overhead limit exceeded"


SAP Analytics Cloud gives "SERVER_ERROR_500 An error occurred in Connection Server service: GC overhead limit exceeded (max heap: #### MB)"


  • SAP Analytics Cloud

Reproducing the Issue

  1. Configure SAP Analytics Cloud for On Premise data acquisition
  2. Create a connection to an On Premise data source
  3. Attempt to acquire data from the On Premise data source
  4. Notice the error


Java Virtual Machine hosting the SAP Analytics Cloud Agent service is using, is unable to garbage collect effectively.


Increase the -Xmx setting for the Tomcat server hosting the SAP Analytics Cloud Agent.

If using Windows complete the following steps;

  1. Navigate to /<Tomcatinstallationdirectory>/bin/Tomcat8w.exe and click Java - Java Options. 
  2. Change Initial Memory Pool to at least 1024MB
  3. Change Maximum Memory Pool to at least 2048MB.

Alternatively, in this example -Xmx is increased to 2048 MB. The specific value should be based on your available memory.

  1. Browse to your Tomcat bin directory
  2. On Linux notice and look for
    • Create or edit existing
    • Add line export CATALINA_OPTS="$CATALINA_OPTS -Xmx2048m"
    • Save
    • Start Tomcat using command run and notice the updated value of -Xmx
  3. On Windows notice catalina.bat and look for setenv.bat
    • Create or edit existing setenv.bat
    • Add line set CATALINA_OPTS="%CATALINA_OPTS% -Xmx2048m"
    • Save setenv.bat
    • Start Tomcat using command catalina.bat run and notice the updated value of -Xmx

See Also

Your feedback is important to help us improve our knowledge base.
Please rate how useful you found this article by using the star rating facility at the top right-hand corner of this article.
Thank you.


EPM, SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Hana Cloud for Planning, EPM-ODS, Cloud for Analytics, C4P, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, HCP, C4A, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJ, BOBJcloud, BOCloud., BICloud, BO Cloud, tomcat, java, jvm, jdk, memory, gc, garbage collection, sac , KBA , to release memory , LOD-ANA , SAP Analytics Cloud , LOD-ANA-BI , SAP Analytics Cloud - Business Intelligence (BOC) , LOD-ANA-PL , SAP Analytics Cloud – Planning (BOC) , LOD-ANA-BR , SAP Analytics Cloud - Digital Boardroom , LOD-ANA-PR , SAP Analytics Cloud – Predictive (BOC) , Problem


SAP Analytics Cloud 1.0