OutOfMemoryError: unable to create new native thread
Posted: Thu Jul 28, 2022 3:50 am
Application: We have a Swing Application On Windows.
JRE: We use 32bit Jre7 and Hotspot in this appliction
Fuck me operation: We upgrade jcef from version_49 to version_95
Problem: The number of oom has increased a lot. 1% to 4%. It is not occur at cef. It occur everywhere when people use our application.
Problem Detail: threads 200+, memory 600M.
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1018)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Thank u very much
JRE: We use 32bit Jre7 and Hotspot in this appliction
Fuck me operation: We upgrade jcef from version_49 to version_95
Problem: The number of oom has increased a lot. 1% to 4%. It is not occur at cef. It occur everywhere when people use our application.
Problem Detail: threads 200+, memory 600M.
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1018)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Thank u very much