[jboss-user] [EJB/JBoss] - Re: how to destroy connection to jboss app server

hquang do-not-reply at jboss.com
Thu Jul 26 05:42:12 EDT 2007


Sorry, i want to re-post my question:

hi,

i am getting java.lang.OutOfMemoryError: unable to create new native thread in server.log, these are some causes that I can think of, pls give your comment and advise how to resolve this problem:
1. The java.lang.OutOfMemoryError is caused by excessive threads being created. If it is, then how to destroy threads or connections created by client but not in use.
2. Caused by the server run out of memory. If it is, then what is the best setting for -Xms, -Xmx, -XXMaxPermSize etc...
3. Client does not close connection properly after using. If it is, what is the best way to close the connection to jboss server leaving no active thread on jboss server?

I am looking forward to hearing from your response.

Best Regards,
Quang

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067737#4067737

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067737



More information about the jboss-user mailing list