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 SEPTEMBER 23, 2023

Applies to:

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


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:


Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
  at java.util.Arrays.copyOf(
  at oracle.apps.xdo.oa.util.XDOLoader.saveDownloadFiles(
  at oracle.apps.xdo.oa.util.XDOLoader.processDownload(
  at oracle.apps.xdo.oa.util.XDOLoader.process(
  at oracle.apps.xdo.oa.util.XDOLoader.main(


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

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