When running the Delivery Manager tool during the package extraction step, an error indicating that there is an issue with java heap space is encountered as shown in the below screenshot and log section:

Figure 1


Figure 2

For finding the DMT logs, see the following page:  CAST Management Studio - Information - How to find logs

Observed in CAST AIP

Observed on RDBMS
Oracle Server (tick)
Microsoft SQL Server (tick)
CSS2 (tick)
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  • Package code to deliver with the Delivery Manager Tool (DMT) from CAST-MS.
  • Error during packaging. 
Impact of the Problem

The impact of the problem on the analysis or the dashboard is:

No code is delivered which can then be analyzed and examined through the dashboard

Action Plan

This issue is due to a CAST AIP limitation, as the CAST JVM is 32 bits, and thus, cannot extend the memory beyond 1.2 GB.

Here are the workarounds : 

  1. Use the AIC Portal to create the version. The JVM must be of 64 bits and an xmx value greater than 1.2 GB must be put in as a parameter
    1. An example of how to do this can be seen in the documentation here:  Information on modifying AIC Portal Parameter
  2.  Try remediating by removing project discoverers and file types which are not needed.
    1. Uncheck all the project discoverers that are not needed, and run the package again: How do I add a source code package to my delivery
      1. If this still doesn't work then exclude file types that are not needed from the analysis (*.bmp, *.png, etc.): How do I exclude specific files or folders from the source code delivery package
  3. Split the package into two (or more) smaller packages.
    1. To do this, the multiple packages can have the same application root path, but for each, you will select the specific folders to extract under the application root path (src/folder1, src/folder2, src/folder3, ...)



Ticket # 7057 , 10483
Related Pages