JBoss Community

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

created by prabhu k in Beginner's Corner - View the full discussion

Hello All,

               Many thanks for given some useful links and ideas.

     But i have a question.

 

     Is it possible to set Xss or XX:ThreadStackSize in run.bat file?

 

     By default ThreadstackSize is 1MB. This could be one of the problem.

 

Note : We also restarted service each tiimes. Its always solved the error for certain time - around one week.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community