chaitanya krishna wrote:
Hi,
If the problem is due to the OS-level limit on the number of active
threads, then why is the error showing outofmemory exception? Is it an issue
of the heap size available for hadoop?Won't increasing heap size fix this
problem?
It's not saying out of memory, it is saying "java.lang.OutOfMemoryError:
unable to create new native thread". That's a different message, with
different causes. If it had said "Out of Heap Space", then yes, more
heap. If it had said "Out of PermGen Space" then you'd have to research
up on Permanent Generation heap space and how to tune it. Here it is
saying it cannot create new native threads.