AutoVue for Agile PLM Running on Linux Fails to Start With java.lang.OutOfMemoryError: Unable to Create New Native Thread in AutoVue Server Log

(Doc ID 2092676.1)

Last updated on APRIL 16, 2018

Applies to:

Oracle Autovue for Agile Product Lifecycle Management - Version 21.0.0 and later
Generic Linux

Symptoms

AutoVue for Agile PLM server stops soon after starting (15-20 seconds) with the below error showing in the AutoVue server log:

Error

<log4j:event logger="com.cimmetry.jvueserver.management" timestamp="1450103122830" level="FATAL" thread="main">
<log4j:message><![CDATA[Error while starting up the server.]]></log4j:message>
<log4j:throwable><![CDATA[java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at com.cimmetry.jvueserver.Channel.createChannelThread(Unknown Source)
at com.cimmetry.jvueserver.ServerProxy.createChannelThreads(Unknown Source)
at com.cimmetry.jvueserver.SocketServerProxy.initializeWorkerThreads(Unknown Source)
at com.cimmetry.jvueserver.SocketServerProxy.<init>(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.addServerProxies(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.start(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.main(Unknown Source)
]]></log4j:throwable>
</log4j:event>

Facts
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at com.cimmetry.jvueserver.Channel.createChannelThread(Unknown Source)
at com.cimmetry.jvueserver.ServerProxy.createChannelThreads(Unknown Source)
at com.cimmetry.jvueserver.SocketServerProxy.initializeWorkerThreads(Unknown Source)
at com.cimmetry.jvueserver.SocketServerProxy.(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.addServerProxies(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.start(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.main(Unknown Source)
]]>

- AutoVue for Agile PLM is installed on Linux server together with Agile Application Server and File Manager.
- jvueserver.properties has processPoolSize=4
- Max user processes set for the user running AutoVue is 1024. This is confirmed by running ulimit -a command on the Linux server.

What is Working

When jvueserver.properties has processPoolSize=1 set, AutoVue server starts up appropriately

Steps

The issue can be reproduced at will with the following steps:

  1. On Linux server, install Agile Application Server, File Manager and AutoVue for Agile PLM.
  2. Make sure jvueserver.properties has processPoolSize=4 set.
  3. Startup AutoVue server.

Cause

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