Maximum Number Of Threads (Linux/MacOS) + OutOfMemory unable to create new native thread
We create threads in application to improve performance. So, how many maximum threads can we create?? You might wondering we can create threads as much as memory is available in system. So If you try running below program, what is the output you are going to get?? So, only 2029 threads in my application. I …