Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.OutOfMemoryError: unable to create new native thread

807580Apr 5 2010 — edited Apr 19 2010
Dears,

I has error when i run job scheduler use Quartz java component at application server.
The error message are :
Unhandled Page Flow exception:
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.<init>(SimpleThreadPool.java:489)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.<init>(SimpleThreadPool.java:472)
at org.quartz.simpl.SimpleThreadPool.createWorkerThreads(SimpleThreadPool.java:265)
...

And appears warning at nohup server console as below:
<Warning> <Socket> <BEA-000402> <There are: 5 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 4. You may want to alter your configuration.>
weblogic.management.ManagementRuntimeException: javax.management.InstanceNotFoundException: mydomain:Name=ESPT_Reporting,Type=Application

Application Server spesification:
My server is HP-UX 11.31
Application server : BEA WebLogic Platform 8.1 SP5 and
Database : Oracle 10g

The kernel parameter setting:
- max_thread_proc 1100 1100 Immed
- nkthread 8416 Default Immed
- nproc 4200 Default Immed

JVM setting : -Xms1024m -Xmx1024m
And at application server config, NativeIOEnabled="true"

I have changed 'max_thread_proc' into 4096, and jvm parameter to -Xms2048m -Xmx2048m -Xss128k, but application is still error.
Please your helping to solve this problem.

Regards
-Agush
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2010
Added on Apr 5 2010
17 comments
929 views