Power BI Connector > Troubleshooting > Java Heap Size Configuration
  

Java Heap Size Configuration

"ERROR java.lang.OutOfMemoryError: GC overhead limit exceeded." occurs when you run a Mapping task to 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. 1Select Administer > Runtime Environments.
  2. 2On the Runtime Environments page, select 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 -Xms1024m and JVMOption2 as -Xmx512m.
  6. Note: Specify the maximum and minimum heap size based on the data you want to process.
  7. 6Restart the Secure Agent manually.