Description

While taking a Snapshot, it fails in the Update Sources in Local service step with error "java lang OutOfMemoryError Java heap space" as shown in the the screen shot below:

 

Observed in CAST AIP
Release
Yes/No
8.3.x(error)
8.2.x(error)
8.1.x, x< 1(tick)
8.0.x, x < 5(tick)
7.3.x, x < 11(tick)
7.2.x(tick)
7.0.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(error)
CSS2(tick)
CSS1(tick)
Step by Step Scenario
  1. Package and deliver the source code
  2. Accept the delivery and set as current version.
  3. Run snapshot , while generating snapshot , it throws a fatal error java.lang.out.of.memory Java heap space while performing Update Sources in Local service step.
Action Plan

This is an issue with memory occurring when the Update Source file loads a source file that is too big.

  1. Either you prevent the source code to be uploaded in the Local Database by unchecking the "Always upload source code for viewing in CAST Dashboard" option. This will make the source code not visible in Dashboard.
    1. In the screen shot below it is shown how to uncheck this option:

  2. If you want source code to be visible in the dashboard then carry out the following steps
    1. Run the snapshot by unchecking "Always upload source code for viewing in CAST Dashboard" option.
    2. Check in the CAST-MS log for the path (ideally it should be in deploy and LISA folder) from where the files are getting uploaded and then check those paths for big files.
    3. Remove the big files i.e. those which are more than 20MB from Deploy folder and LISA folder.
    4. Go to the Local service and click on "Upload source code for viewing in CAST Dashboard" option, as shown in the screen shot below:
Impact on Analysis Results and Dashboard

Impact of issue: Snapshot fails with error message in the analysis log.
Impact after applying solution: Snapshot runs fine.

Notes/comments

Ticket # 5231

Related Pages