java.lang.OutOfMemoryError: unable to create new native thread
Actually I am facing a problem in a web application which relates to java.lang.OutOfMemoryError: unable to create new native thread
Deployment details for the application are -
1. Sun Java System Application Server 7
2. Java 1.4.2_05
3. Solaris 9 (OS)
4. RAM 8 GB
There are 3-4 applications deployed on Sun Server 7. Some times we receive "Out Of Memory" Error while displaying jsp's in one of the applications deployed on Sun-One Server 7. When Sun Server is restarted, the problem is resolved temporarily.
Since the issue occurs on production environment, its not feasible to restart the Sun Server regularly.
We have also set the java parameters as -Xms 3584M & -Xmx 3584M i.e 3.5 GB around.If this parameter is modified ,the site goes down.
Please provide your valuable suggestions.