Exception: java.lang.OutOfMemoryError: unable to create new native thread
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, November 1, 2004 02:11 AM

I am using BES 5.2.0 with min heap size 256, max heap size 512 and thread stack size default (also tries 512). My application runs ok till a point that currect active threads go from 60 to 1100 and my partition stops and I get this error WorkerThread:Ignoring Exception in the scheduler in thread: Thread[EJB Worker Thread - 2,5,main] [Mon Nov 01 09:35:22 EET 2004] WorkerThread:Ignored Exception: java.lang.OutOfMemoryError: unable to create new native thread [Mon Nov 01 09:35:22 EET 2004] java.lang.OutOfMemoryError: unable to create new native thread I tried a lot of different Garbage Collectors and other jvms without any success. First I tried jdk 1.4.1_b01 and the the latest version of 1.4.2. No success. How can I   More>>

I am using BES 5.2.0 with min heap size 256, max heap size 512 and thread stack size default (also tries 512). My application runs ok till a point that currect active threads go from 60 to 1100 and my partition stops and I get this error

WorkerThread:Ignoring Exception in the scheduler in thread: Thread[EJB Worker Thread - 2,5,main]
[Mon Nov 01 09:35:22 EET 2004] WorkerThread:Ignored Exception: java.lang.OutOfMemoryError: unable to create new native thread
[Mon Nov 01 09:35:22 EET 2004] java.lang.OutOfMemoryError: unable to create new native thread



I tried a lot of different Garbage Collectors and other jvms without any success. First I tried jdk 1.4.1_b01 and the the latest version of 1.4.2. No success. How can I limit the numbers of threads? Because I get this problem everytime the application goes from 60 to 1100 threads

Thanks in Advance

   <<Less

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

Posted By:   Anonymous  
Posted On:   Friday, December 3, 2004 10:58 AM

Tell BES it should limit the thread number. Or check which application part creates 1000(!) additional threads and rewrite it.


Harald M.

About | Sitemap | Contact