ANT PLUG-IN ASSEMBLE Task Fails With OUTOFMEMORYERROR Error (Doc ID 965253.1)

Last updated on AUGUST 13, 2013

Applies to:

Oracle Communications Order and Service Management - Version: 6.3 to 6.3.1 - Release: 6.3 to 6.3
Information in this document applies to any platform.

Symptoms

When attempting to deploy a cartridge,
the following error occurs.

ERROR
-----------------------
When ant plugin-assemble is run it throws out of memory exception, or it stops processing and appears to hang.


The out of memory error is below:


[java] The system is out of resources.
[java] Consult the following stack trace for details.
[java] java.lang.OutOfMemoryError: Java heap space
[java] Exec failed .. exiting
[plugin] Java returned: 1
[plugin] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
[plugin] at com.mslv.oms.deploytool.api.PluginDeploymentAPI.appc(Unknown Source)
[plugin] at com.mslv.oms.deploytool.api.PluginDeploymentAPI.assemble(Unknown Source)
[plugin] at com.mslv.oms.deploytool.anttasks.OMSDeployPlugin.processCommand(Unknown Source)
[plugin] at com.mslv.oms.deploytool.anttasks.OMSDeployPlugin.execute(Unknown Source)
[plugin] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[plugin] at org.apache.tools.ant.Task.perform(Task.java:364)
[plugin] at org.apache.tools.ant.Target.execute(Target.java:341)
[plugin] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[plugin] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[plugin] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[plugin] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[plugin] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[plugin] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[plugin] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[plugin] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[plugin] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[delete] Deleting directory D:\staging\Code\CapGBuild\staging\plugin


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms