Salesforce Marketing Cloud Connector > Troubleshooting > Troubleshooting a synchronization task
  

Troubleshooting a synchronization task

"ERROR java.lang.OutOfMemoryError: GC overhead limit exceeded." occurs when you run a synchronization task to read or write large number of records.
To resolve this issue, perform the following tasks to configure the JVM options in the Secure Agent to increase the memory for the Java heap size:
  1. 1In Administrator, select Runtime Environments.
  2. 2Select the Secure Agent for which you want to increase memory from the list of available Secure Agents.
  3. 3In the upper-right corner, click Edit.
  4. 4In the System Configuration Details section, select the Type as DTM for the Data Integration Service.
  5. 5Edit the JVMOption1 as -Xms4056m and JVMOption2 as -Xmx4056m.
  6. 6Restart the Secure Agent.