See INTJDK-7604745
On Linux with a low process limit (E.g., 1024 on OEL 6), thread creation may fail with an unhelpful message:
Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:693)
at COM.volano.e.b(DashoA5383)
at COM.volano.am.<init>(DashoA5383)
at COM.volano.ak.a(DashoA5383)
at COM.volano.ak.a(DashoA5383)
at COM.volano.Mark.main(DashoA5383)
We should include more information, such as "this may be caused by a low process limit (1024)", etc.
(But we should also be careful in the wording so that the user won't increase system-wide process limit and cause potential security issues -- see https://bugzilla.redhat.com/show_bug.cgi?id=432903).
On Linux with a low process limit (E.g., 1024 on OEL 6), thread creation may fail with an unhelpful message:
Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:693)
at COM.volano.e.b(DashoA5383)
at COM.volano.am.<init>(DashoA5383)
at COM.volano.ak.a(DashoA5383)
at COM.volano.ak.a(DashoA5383)
at COM.volano.Mark.main(DashoA5383)
We should include more information, such as "this may be caused by a low process limit (1024)", etc.
(But we should also be careful in the wording so that the user won't increase system-wide process limit and cause potential security issues -- see https://bugzilla.redhat.com/show_bug.cgi?id=432903).
- duplicates
-
JDK-7182040 volano29 limited by os resource on Linux - need better diagnostic message
-
- Closed
-