Troubleshooting
Problem
YFS_PERSON_INFO has 10752248 records. The table was put in the ignore list in ydkpref.xml. Memory parameter for the build script is (-Xms512m -Xmx3072m). Running CDT build failed due to Out Of Memory Issue when processing this table.
Symptom
02:00:31->Reading YFS_PERSON_INFO
JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
JVMDUMP032I JVM requested Heap dump using '/apps/SterlingFiles/build/SterlingOMS/heapdump.20160219.020117.2621934.0001.phd' in response to an event
JVMDUMP010I Heap dump written to /apps/SterlingFiles/build/SterlingOMS/heapdump.20160219.020117.2621934.0001.phd
JVMDUMP032I JVM requested Java dump using '/apps/SterlingFiles/build/SterlingOMS/javacore.20160219.020117.2621934.0002.txt' in response to an event
JVMDUMP010I Java dump written to /apps/SterlingFiles/build/SterlingOMS/javacore.20160219.020117.2621934.0002.txt
JVMDUMP032I JVM requested Snap dump using '/apps/SterlingFiles/build/SterlingOMS/Snap.20160219.020117.2621934.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /apps/SterlingFiles/build/SterlingOMS/Snap.20160219.020117.2621934.0003.trc
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
Exception in thread "main" java.lang.Exception: java.lang.reflect.InvocationTargetException
at com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:93)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:90)
Caused by: java.lang.OutOfMemoryError
at java.util.ArrayList.newElementArray(ArrayList.java:94)
at java.util.ArrayList.growAtEnd(ArrayList.java:375)
at java.util.ArrayList.add(ArrayList.java:158)
at com.yantra.ycp.common.YCPTreeNode.addChild(YCPTreeNode.java:79)
at com.yantra.tools.ydk.config.ConfigTreeNode.addChild(ConfigTreeNode.java:66)
at com.yantra.tools.ydk.config.synch.ConfigSynchAnalyzer.collectAbandonedRecords(ConfigSynchAnalyzer.java:292)
at com.yantra.tools.ydk.config.synch.ConfigSynchAnalyzer.buildSynchronizationTree(ConfigSynchAnalyzer.java:115)
at com.yantra.tools.ydk.config.ConfigSyncMaster.analyze(ConfigSyncMaster.java:395)
at com.yantra.tools.ydk.config.ConfigDeployMain.deploy(ConfigDeployMain.java:291)
at com.yantra.tools.ydk.config.ConfigDeployMain.mainMethod(ConfigDeployMain.java:156)
at com.yantra.tools.ydk.config.ConfigDeployMain.main(ConfigDeployMain.java:53)
... 5 more
JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
JVMDUMP032I JVM requested Heap dump using '/apps/SterlingFiles/build/SterlingOMS/heapdump.20160219.020117.2621934.0001.phd' in response to an event
JVMDUMP010I Heap dump written to /apps/SterlingFiles/build/SterlingOMS/heapdump.20160219.020117.2621934.0001.phd
JVMDUMP032I JVM requested Java dump using '/apps/SterlingFiles/build/SterlingOMS/javacore.20160219.020117.2621934.0002.txt' in response to an event
JVMDUMP010I Java dump written to /apps/SterlingFiles/build/SterlingOMS/javacore.20160219.020117.2621934.0002.txt
JVMDUMP032I JVM requested Snap dump using '/apps/SterlingFiles/build/SterlingOMS/Snap.20160219.020117.2621934.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /apps/SterlingFiles/build/SterlingOMS/Snap.20160219.020117.2621934.0003.trc
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
Exception in thread "main" java.lang.Exception: java.lang.reflect.InvocationTargetException
at com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:93)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:90)
Caused by: java.lang.OutOfMemoryError
at java.util.ArrayList.newElementArray(ArrayList.java:94)
at java.util.ArrayList.growAtEnd(ArrayList.java:375)
at java.util.ArrayList.add(ArrayList.java:158)
at com.yantra.ycp.common.YCPTreeNode.addChild(YCPTreeNode.java:79)
at com.yantra.tools.ydk.config.ConfigTreeNode.addChild(ConfigTreeNode.java:66)
at com.yantra.tools.ydk.config.synch.ConfigSynchAnalyzer.collectAbandonedRecords(ConfigSynchAnalyzer.java:292)
at com.yantra.tools.ydk.config.synch.ConfigSynchAnalyzer.buildSynchronizationTree(ConfigSynchAnalyzer.java:115)
at com.yantra.tools.ydk.config.ConfigSyncMaster.analyze(ConfigSyncMaster.java:395)
at com.yantra.tools.ydk.config.ConfigDeployMain.deploy(ConfigDeployMain.java:291)
at com.yantra.tools.ydk.config.ConfigDeployMain.mainMethod(ConfigDeployMain.java:156)
at com.yantra.tools.ydk.config.ConfigDeployMain.main(ConfigDeployMain.java:53)
... 5 more
Cause
YFS_PERSON_INFO was in the ignored list. However, YFS_PERSON_INFO is a dependent / "child" table for other tables e.g. YFS_ORGANIZATION. INSTALL_DIR/database/cdt/config-db.xml and master-db.xml contain all the relations between YFS_PERSON_INFO and other tables.
Diagnosing The Problem
1. Check the count of records in YFS_PERSON_INFO
2. Check the relation of this table with other tables in INSTALL_DIR/database/cdt/config-db.xml and master-db.xml.
3. Check if dependent/child table of YFS_PERSON_INFO was processed.
2. Check the relation of this table with other tables in INSTALL_DIR/database/cdt/config-db.xml and master-db.xml.
3. Check if dependent/child table of YFS_PERSON_INFO was processed.
Resolving The Problem
As the table is very large and therefore causing the OOM, the following can be done:
1. Purge unused records from YFS_PERSON_INFO using Person Info purge.
2. Increase the Xmx value to 5G or larger (5G was from a real life scenario ).
OR
Include the dependent tables in the ignore list as well, run CDT. Run CDT again only for the ignored tables. Use the import/export DB functionality for YFS_PERSON_INFO records.
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management System Software"},"ARM Category":[{"code":"a8m0z000000cy0AAAQ","label":"Install and Deploy"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.0;9.0.0;9.1.0;9.2.0;9.2.1;9.3.0;9.4.0;9.5.0"}]
Was this topic helpful?
Document Information
Modified date:
25 October 2025
UID
swg21977718