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

SAP Knowledge Base Articles - 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 unable to garbage collect effectively.


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

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 catalina.sh and look for setenv.sh
    • Create or edit existing setenv.sh
    • Add line export CATALINA_OPTS="$CATALINA_OPTS -Xmx2048m"
    • Save setenv.sh
    • Start Tomcat using command catalina.sh 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 , KBA , 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