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 11.1.1.5.0 [Release AS10gR3 to 11g]
Information in this document applies to any platform.

Symptoms


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(Arrays.java:2882)
       at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:109)
       at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:399)
       at java.lang.StringBuilder.append(StringBuilder.java:132)
       at weblogic.logging.ConsoleFormatter.appendToBuffer(ConsoleFormatter.java:230)

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