Description

This page outlines the issue with Delivery Manager Tool which crashes with the following error due to memory issue.

Please find the error screen shot below:


Observed in CAST AIP
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x (tick) 
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick)
Step by Step Scenario
  1. Create an application in AIC Portal
  2. Download JNLP
  3. Try to package the delivery.
Action Plan

1. Try to increase the memory used by java for DMT which is explained in this space

When the DMT is executed from CAST Management Studio, it uses the 32 bits jre that is included in the CAST Installation folder.

  1. Make sure that the customer is in a 64 bits machine
  2. Check that the 64 bits jre is installed.
  3. Edit the properties of the DMT that is run from AIC Portal as it is shown in the screenshot below :

  4. Update the shortcut and replace the jre path already defined (C:\Windows\System32\javaws.exe) by your 64 bits jre home ("C:\Program Files\Java\jdk1.7.0_21\bin\javaws.exe" for instance).
  5. Add the -Xmx parameter (Maximum memory allocation), that will allow the process to use the memory defined. The command line can be: C:\Program Files\Java\jdk1.7.0_21\bin\javaws.exe -Xmx2048M -localfile "C:\Users\CST-Test\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\23\690b6857-60ce7d72"
  6. Execute the DMT on AIC Portal by clicking on the Deliver for Test_DMT and not by executing it in Cast MS:


Warning

Note that if you are in a 32 bits machine, the Xmx parameter cannot exceed 1400M, else the Maximum memory allocation that will be used is the one defined in the java run time settings.

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. Try packaging individual packages

  1. If this doesn't help try packaging individual packages which would not use the memory completely at once, if you have only one package divide the package into several packages.
    1. Use the following generic script which would package each package separately and would create a window between the packaging for the memory limitations.(Need to tailor the script to one's needs) Generic Script.bat
Impact on Analysis Results and Dashboard

No impact on the analysis results.

Notes/comments

Ticket # 10483

Related Pages