cuibo01 edited a comment on pull request #2824: URL: https://github.com/apache/hbase/pull/2824#issuecomment-752310671
i tested "unable to create new native thread" by "ulimit -u 100", but jvm didn't stop.. i tested '-XX:OnOutOfMemoryError="kill -9"' %p or '-XX:+ExitOnOutOfMemoryError' or '-XX:+CrashOnOutOfMemoryError' OOME has 8 different kinds, i guess '-XX:OnOutOfMemoryError="kill -9"' doesn't work for all OOME java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: GC Overhead limit exceeded java.lang.OutOfMemoryError: Requested array size exceeds VM limit java.lang.OutOfMemoryError: Permgen space java.lang.OutOfMemoryError: Metaspace java.lang.OutOfMemoryError: Unable to create new native thread java.lang.OutOfMemoryError: Kill process or sacrifice child java.lang.OutOfMemoryError: reason stack_trace_with_native_method ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
