WebCenter Content: Imaging Image Viewer is Causing "java.lang.OutOfMemoryError: Java Heap Space" Errors (Doc ID 1576263.1)

Last updated on JUNE 30, 2016

Applies to:

Oracle WebCenter Content: Imaging - Version 11.1.1.4.0 to 11.1.1.9.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Over time when using the Image Viewer applet, the memory usage of the java applet increases and eventually results in a "java.lang.reflect.InvocationTargetException" error being displayed on the webpage and the following error occurs in the java console:

ERROR
-----------------------
Aug 06, 2013 11:15:53 AM oracle.imaging.rendering.surfaces.session.BaseGraphicsSession LoadDocument
SEVERE: There was an exception during LoadDocument
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.(Unknown Source)
at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
at java.awt.image.Raster.createWritableRaster(Unknown Source)
at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
at javax.imageio.ImageReader.getDestination(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)

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