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 newnative thread at java.lang.Thread.start0(NativeMethod) at java.lang.Thread.start(UnknownSource)
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 ?