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&...]