32-bit Oracle API Gateway Runs out of Process Address Space

(Doc ID 1609304.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle API Gateway - Version to 11.1.2 [Release 11gR1 to 11gR2]
Information in this document applies to any platform.


The 32-bit Oracle Enterprise Gateway or Oracle API Gateway fails runs out of process address space.  A large variety of messages are possible.

One example from a Gateway trace file

ERROR   13/Oct/2013:18:22:08.007 [2404]                    
UKJENT FEIL I com.vordel.common.ldap.LdapLookup$4.runCached:
java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Thread.java:640)
      at com.sun.jndi.ldap.Connection.<init>(Connection.java:218)
      at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
      at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
      at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
      at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
      at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
      at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)

One example from an hs_err log file:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 901088 bytes for Chunk::new



This document applies only to the 32-bit Gateway.


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