java.lang.OutOfMemoryError: GC overhead limit exceeded in Studio

Version         
Talend Version          6.1.1

Summary

 
Additional Versions  
Key words Garbage collection, Java error
Product  
Component  
Article Type Configuration
Problem Description

A Job in Studio is failing and giving the following exception:

Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOf(Unknown Source)
at java.util.ArrayList.grow(Unknown Source)
at java.util.ArrayList.ensureExplicitCapacity(Unknown Source)
at java.util.ArrayList.ensureCapacityInternal(Unknown Source)
at java.util.ArrayList.add(Unknown Source)
at org.apache.xmlbeans.impl.store.Saver.addMapping(Saver.java:641)
at org.apache.xmlbeans.impl.store.Saver.<init>(Saver.java:90)
at org.apache.xmlbeans.impl.store.Saver$TextSaver.<init>(Saver.java:916)
at org.apache.xmlbeans.impl.store.Cursor._xmlText(Cursor.java:546)
at org.apache.xmlbeans.impl.store.Cursor.xmlText(Cursor.java:2436)
at org.apache.xmlbeans.impl.values.XmlObjectBase.xmlText(XmlObjectBase.java:1500)
at org.apache.poi.xssf.model.SharedStringsTable.getKey(SharedStringsTable.java:134)
at org.apache.poi.xssf.model.SharedStringsTable.readFrom(SharedStringsTable.java:124)
at org.apache.poi.xssf.model.SharedStringsTable.<init>(SharedStringsTable.java:106)
... 14 more
Problem root cause The memory assigned to garbage collection has exceeded its limit.
Solution or Workaround

Increase the default limit for garbage collection by adding the following jvm parameter in the .ini file for Studio:

-server -Xms24G -Xmx24G -XX:PermSize=512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70
JIRA ticket number  
Version history
Revision #:
8 of 8
Last update:
‎09-29-2018 12:14 AM
Updated by:
 
Labels (3)