[jboss-user] [EJB3] - Re: way too many SLSB instances eventually cause heap to run out
Carlo de Wolf
do-not-reply at jboss.com
Fri Feb 11 09:10:50 EST 2011
Carlo de Wolf [http://community.jboss.org/people/wolfc] created the discussion
"Re: way too many SLSB instances eventually cause heap to run out"
To view the discussion, visit: http://community.jboss.org/message/586896#586896
--------------------------------------------------------------
If somewhere in the call chain there is an unbounded thread pool (for example threads are created per request) the ThreadlocalPool will keep on instantiating new instances. It is designed to keep one instance per thread.
You need to identify which piece of code is executed by the unbounded thread pool and use a StrictMaxPool there.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/586896#586896]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110211/9f314194/attachment-0001.html
More information about the jboss-user
mailing list