Troubleshooting
Problem
Running ./sci_ant.sh -f ../devtoolkit/devtoolkit_extensions.xml import -Dpackage=extension_archive_pathsci_ant.sh results in a java/lang/OutOfMemoryError.
[exec] [ java ] [ javac ] /home/devtoolkit_docker/runtime/properties/entityDeployer.xml:778: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[exec] [ java ] [ javac ] Compiling 4059 source files to /home/devtoolkit_docker/runtime/repository/entitybuild/classes
[exec] [ java ] [ javac ] JVMDUMP055I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError", exception "Java heap space" at 2025/03/18 06:30:38 - please wait.
[exec] [ java ] [ javac ] JVMDUMP032I JVM requested System dump using '/home/devtoolkit_docker/runtime/repository/entitybuild/core.20250318.063038.2488692.0001.dmp' in response to an event
[exec] [ java ] [ javac ] JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" specifies that the core dump is to be piped to an external program. Attempting to rename either core or core.2488951. Review the manual for the external program to find where the core dump is written and ensure the program does not truncate it.
[exec] [ java ] [ javac ]
[exec] [ java ] [ javac ] JVMPORT049I The core file created by child process with pid = 2488951 was not found. Review the documentation for the /proc/sys/kernel/core_pattern program "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" to find where the core file is written and ensure that program does not truncate it.
[exec] [ java ] [ javac ]
[exec] [ java ] [ javac ] JVMDUMP012E Error in System dump: /home/devtoolkit_docker/runtime/repository/entitybuild/core.20250318.063038.2488692.0001.dmp
Cause
Diagnosing The Problem
Resolving The Problem
(1) Change the value of ADDITIONAL_ANT_COMPILER_TASK_ARGS in sandbox.cfg file:
cd ~
cd devtoolkit_docker/runtime/properties vi sandbox.cfg
(2) Locate the property ADDITIONAL_ANT_COMPILER_TASK_ARGS and allocate at least 4GB to 8GB depending on your JAR file contents:
ADDITIONAL_ANT_COMPILER_TASK_ARGS=-J-Xms256m -J-Xmx8192m
(3) Go to runtime/bin folder and run the setupfiles.sh file:
cd ~
cd devtoolkit_docker/runtime/bin
./setupfiles.sh
(4) Run the sci_ant.sh command review if there is more memory required. If yes, follow steps (1) to (3) again with appropriate value for the property: ADDITIONAL_ANT_COMPILER_TASK_ARGS
Document Location
Worldwide
Product Synonym
oms; sterling order management;
Was this topic helpful?
Document Information
Modified date:
15 April 2025
UID
ibm17228727