"OutOfMemory Native memory exhausted" Error on System Startup

When you attempt to start the ActiveMatrix BPM system, the System node and any BPM nodes fail with an "OutOfMemory Native memory exhausted" error.

This error can occur on IBM AIX v6.x or v7.x systems if the soft limit for the data user process resource is set to a value of less than 512Mb. You will see errors like this in the BPM log file:

21 Nov 2013 15:17:46,615 [Start Level Event Dispatcher] [ERROR] [] com.tibco.amx.hpa.web.jetty.httpConnector - TIBCO-AMX-HPA-014300: The connector httpConnector is not started. Likely an invalid connector configuration prevents server from starting.
java.lang.OutOfMemoryError: native memory exhausted

To rectify this error:

  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:
    1. 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 
    2. Log in as the BPM user and run the following command (as the root user):
      $ ulimit -Sd
  2. Restart the ActiveMatrix BPM system.