Getting OOME (OutOfMemoryError) when Using Large Files, Payloads or Attachments

(Doc ID 1315838.1)

Last updated on FEBRUARY 15, 2016

Applies to:

Oracle Service Bus - Version 10.3 to [Release AS10gR3 to 11g]
Information in this document applies to any platform.


For example, the following Out Of Memory (OOM) error is thrown by a SFTP Proxy when moving a big (>75Mb)  xml file. The File is just moved, there is no manipulation of the file content.

Caused By: java.lang.OutOfMemoryError: Java heap space
       at java.util.Arrays.copyOf(
       at java.lang.AbstractStringBuilder.expandCapacity(
       at java.lang.AbstractStringBuilder.append(
       at java.lang.StringBuilder.append(
       at weblogic.logging.ConsoleFormatter.appendToBuffer(


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