1 Reply Latest reply on Feb 20, 2012 11:06 AM by jaikiran

    Thread Overload at server

    varsha.g

      Hi All,

       

      I am using the jsp-servlet in my application.  deployed the war on jboss 7.0.2 server. i have servlet that is being called many time in sec (say 500 times). I think so this thread will not handled by the server. server throws an exception.

       

             java.lang.OutOfMemoryError: unable to create new native thread
             at java
      .lang.Thread.start0(Native Method)
             at java
      .lang.Thread.start(Unknown Source)

       

       

      also i have added the max heap memory and set it to 1024. but it doesnot work for me.

       

      is any one know how the server will handle the such many threads? am i on the right track here ?