OSB 11g: Java.lang.OutOfMemoryError: Requested Array Size Exceeds VM Limit (Doc ID 1570261.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

On OSB 11.1.1.6,  the user is hitting a Java.lang.OutOfMemoryError: Requested Array Size Exceeds VM Limit error when using SFTP transport. The OOM happens at com.sshtools.j2ssh.SshThread .



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




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