java.lang.OutOfMemoryError: native memory exhausted error during the TIBCO Administrator startup on AIX 7.1 machine.

java.lang.OutOfMemoryError: native memory exhausted error during the TIBCO Administrator startup on AIX 7.1 machine.

book

Article ID: KB0093447

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Description:
Java applications run in the virtualized environment of the Java runtime, but the runtime itself is a native program written in a language (such as C) that consumes native resources, including native memory. Native memory is the memory available to the runtime process as distinguished from Java heap memory that a Java application uses. If an application is running out of native memory, it will fail with a OOM:native memory exhausted error.

Issue/Introduction

java.lang.OutOfMemoryError: native memory exhausted error during the TIBCO Administrator startup on AIX 7.1 machine.

Resolution

You can use the following technique to address this issue.


1). Increase the Heap size for the Administrator to some larger value such as 512M or 1024m.

If this does not help then try the following.

2). Decrease the Java stack thread size to a lower value such as 128 (default is 256K).
    java.thread.stack.size=128K

Other alternatives:

1). Set the system-wide soft limit for the data user process resource to a value of at least 512MB. The following is an example of how you can set this value.

   a). Log in as root and run the following command, where the number 1048576 is the number of 512-byte blocks needed.

      $ chuser data=1048576 root
 

    b). Log in as the Administrator user and run the following command (as the root user):

      $ ulimit -Sd
  
2). Restart the Administrator and Hawk agent on the system.

Additional Information