Jasper Report Server Install fails with OutOfMemory
search cancel

Jasper Report Server Install fails with OutOfMemory

book

Article ID: 215243

calendar_today

Updated On:

Products

CA Identity Suite

Issue/Introduction

Same OutofMemoryError in Jasper install logs:

ZGResourceLoader::getZipFileForEntry()- $IA_PROJECT_DIR$/resources/images/billboard one.png in C:\Users\AppData\Local\Temp\I1621016741\InstallerData\Execute.zip
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
 at java.awt.image.DataBufferInt.<init>(Unknown Source)
 at java.awt.image.Raster.createPackedRaster(Unknown Source)
 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
 at sun.awt.image.ImageRepresentation.createBufferedImage(Unknown Source)
 at sun.awt.image.ImageRepresentation.setPixels(Unknown Source)
 at sun.awt.image.ImageDecoder.setPixels(Unknown Source)
 at sun.awt.image.PNGImageDecoder.sendPixels(Unknown Source)
 at sun.awt.image.PNGImageDecoder.produceImage(Unknown Source)
 at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
 at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
 at sun.awt.image.ImageFetcher.run(Unknown Source)
Execute Custom Code
    class com.ca.bicoe.cajasperserver.install.guiinstaller.customcode.ShowInstallProgress.install() Unexpected Fatal Error:
java.lang.OutOfMemoryError: Java heap space
 at java.util.zip.InflaterInputStream.<init>(Unknown Source)
 at java.util.zip.ZipFile$ZipFileInflaterInputStream.<init>(Unknown Source)
 at java.util.zip.ZipFile.getInputStream(Unknown Source)

Top of logs shows memory allocation:

Free Memory: 11644 kB
Total Memory: 44032 kB

Environment

Release : 14.3

Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)

Cause

Client had enough memory.  No Java conflict.

During the install if select default it would hang at 6% and fail with the out of memory error in the logs.

Resolution

There was a unique issue with the Postgres DB which was installed by default.  If client used external database and pointed the install to that external database in the database install dialog the Jasper installation completed.