My Oracle Support Banner

XDOLoader Fails With java.lang.OutOfMemoryError: Java heap space Error When Downloading Large Files (Doc ID 2417658.1)

Last updated on JULY 26, 2018

Applies to:

BI Publisher (formerly XML Publisher) - Version 12.2 to 12.2 [Release 12.2]
Information in this document applies to any platform.

Symptoms

On : 12c version, E-Business Suite Specific

XDOLoader fails to download large files

Able to run XDOLoader successfully on files (XSL-FO) up to 170MB, however the 3 largest files (235MB) cannot be downloaded.
Geting the following error when running XDOLoader:

ERROR
-----------------------

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
  at java.util.Arrays.copyOf(Arrays.java:2271)
  at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
  at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
  at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
  at oracle.apps.xdo.oa.util.XDOLoader.saveDownloadFiles(XDOLoader.java:1713)
  at oracle.apps.xdo.oa.util.XDOLoader.processDownload(XDOLoader.java:1596)
  at oracle.apps.xdo.oa.util.XDOLoader.process(XDOLoader.java:1029)
  at oracle.apps.xdo.oa.util.XDOLoader.main(XDOLoader.java:2422)
 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.