TDV is throwing unable to create new native thread java.lang.OutOfMemoryError: unable to create new native thread in cs_server*.log

TDV is throwing unable to create new native thread java.lang.OutOfMemoryError: unable to create new native thread in cs_server*.log

book

Article ID: KB0082201

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization TDV 7.0.6, All Versions,

Description

During performance testing , TDV is encountering an exception every time we  execute performance tests using 50 or more threads. The exact message is "unable to create new native thread."  is logged in to cs_server.log file, and cs_server_client.log file where the exception message is actually logged
How to resolve this issue to avoid the impact on performance? 

Issue/Introduction

During performance testing , TDV is encountering an exception every time we execute performance tests using 50 or more threads. The exact message is "unable to create new native thread." is logged in to cs_server.log file, and cs_server_client.log file where the exception message is actually logged How to resolve this issue to avoid the impact on performance?

Resolution

 The  out of memory error  is surfacing  either because of there is no room in the memory to accommodate new threads or the number of threads exceeds the Operating System limit.

You can refer the  potential solutions that’s suggested in the following pages.
https://plumbr.eu/outofmemoryerror/unable-to-create-new-native-thread


https://blog.fastthread.io/2016/07/06/troubleshoot-outofmemoryerror-un
able-to-create-new-native-thread/