Caused By: Java.lang.OutOfMemoryError: Map Failed (Doc ID 1663504.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit - Version R28 and later
Information in this document applies to any platform.

Goal

JVM is running in Windows 32 bit.  Then, notice the following in logs

java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745)
at sun.nio.ch.FileChannelImpl.transferFromFileChannel(FileChannelImpl.java:527)
at sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:590)
at oracle.tip.adapter.file.FileUtil.nioCopy(FileUtil.java:1046)
at oracle.tip.adapter.file.outbound.FileIoOperation$2.perform(FileIoOperation.java:523)
at oracle.tip.adapter.file.outbound.FileInteraction.executeFileIo(FileInteraction.java:453)
at oracle.tip.adapter.file.outbound.FileInteraction.execute(FileInteraction.java:397)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:357)

 

Solution

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