CA Workload Automation shuts down and reports "The cause of the servershutdown: - java.lang.OutOfMemoryError: unable to create new native thread"
search cancel

CA Workload Automation shuts down and reports "The cause of the servershutdown: - java.lang.OutOfMemoryError: unable to create new native thread"

book

Article ID: 50431

calendar_today

Updated On:

Products

DSERIES- SERVER CA Workload Automation DE CA Workload Automation DE - Scheduler (dSeries)

Issue/Introduction

CA Workload Automation shuts down and reports "The cause of the servershutdown: - java.lang.OutOfMemoryError: unable to create new native thread"

Environment

Release: CAWAS999000-11.1-Workload Automation-Agent for Application Services
Component:

Resolution

This can happen for various reasons. It usually happens if the OS has some memory problems. Please try the following:

  1. Restart the OS
  2. Increase heap size

On Windows, edit file "startServer.lax" on the following line (value in bytes):
lax.nl.java.option.java.heap.size.max=

On Unix, edit file "startServer" on the following line (value in MegaBytes):
MAX_HEAP_SIZE=

Note: The procedure applies to all UNIX flavors except AIX. we have a separate knowledge document for AIX.