Search Engine: Elastic

Article ID: 130953, created on Jun 8, 2017, last review on Jun 9, 2017

  • Applies to:
  • Operations Automation 6.0


Some operations in CP lead to the following error:

Horrible Exception: java.lang.StackOverflowError
    at java.lang.Integer.toHexString(
    at java.lang.Object.toString(
    at java.lang.String.valueOf(
    at java.lang.StringBuilder.append(
    at org.openorb.orb.pi.CurrentEntry.toString(
    at java.lang.String.valueOf(
    at java.lang.StringBuilder.append(
Caused by: java.lang.OutOfMemoryError: unable to create new native thread

The operations could be: login, change password, switch to BA.

The issue may occur intermittently.


UI service experiences OutOfMemory conditions due to the global limit for open files (nproc). The system load has increased and the default limit is not sufficient.


  1. Edit /etc/init.d/pemui script and add the following lines:

    ulimit -Hn 10240
    ulimit -Sn 10240

    As a result, the content should be:

    export JAVA_HOME=/usr/java/latest
    export CATALINA_BASE=/usr/local/pem/etc/ui
    ulimit -Sn 10240
    ulimit -Hn 10240
  2. Restart the service:

    # service pemui restart

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF