apache/thrift — pull request #129 by Fuud (2014-05-27 06:52:33+00:00)
Title: THRIFT-2551 OutOfMemoryError kills serve thread

THRIFT-2551 OutOfMemoryError "unable to create new native thread" kills serve thread.

If executor can not create new thread (because of exceed descriptors limit for example) it throws OutOfMemoryError. This case is same as if RejectedExecutionException is thrown from executor: we can wait and retry.