Hi Scott,
I believe I've fixed this issue by adding @ApplicationScoped and
@RequestedScoped annotation to my beans. :)
Thanks for your efforts.
-Wesley
2010/8/18 Wesley Wu wumen...@gmail.com:
Hi Scott,
Thanks for the checking.
Today I double checked the CDI spec and got some new
2010/8/20 Scott Ferguson f...@caucho.com:
I still think there's a chance for a Resin leak; I just don't understand
where it's coming from.
I think so. The same code worked fine (no leak) in Resin 4.0.5.
It shouldn't matter what context you're injecting from, as long as
you're creating a new
Wesley Wu wrote:
2010/8/20 Scott Ferguson f...@caucho.com:
I still think there's a chance for a Resin leak; I just don't understand
where it's coming from.
I think so. The same code worked fine (no leak) in Resin 4.0.5.
Do you have access to the eclipse mat program or some
I'll tried to do so.
2010/8/20 Scott Ferguson f...@caucho.com:
Wesley Wu wrote:
2010/8/20 Scott Ferguson f...@caucho.com:
I still think there's a chance for a Resin leak; I just don't understand
where it's coming from.
I think so. The same code worked fine (no leak) in Resin 4.0.5.
Do
Hi Scott,
Thanks for the checking.
Today I double checked the CDI spec and got some new knowledge.
Nearly all my beans were not annotated with any scope, so that they
should be @Dependent.
Some of the beans were created (not injected) in a servlet filter via
a static ObjectFactory.
I think the
Wesley Wu wrote:
Hi Scott,
The memory leak circumstance was not spotted in Resin 4.0.5 and early
4.0.x versions.
One of the inject path is:
* A filter CmsPageFilter dispatch a request to a Jsp page through
javax.servlet.RequestDispatcher.forward(request, response)
* Jsp page called a
Wesley Wu wrote:
Hi Scott,
I've applied the 4.0.10 snapshot and the Alarm issue went away. Thanks.
But Resin consumed all memory after certain hours and resulted in a
halt or restart.
I did a jrockit flight recording and found there was a slow heap
increase during various GCs.
The
Hi Scott,
The memory leak circumstance was not spotted in Resin 4.0.5 and early
4.0.x versions.
One of the inject path is:
* A filter CmsPageFilter dispatch a request to a Jsp page through
javax.servlet.RequestDispatcher.forward(request, response)
* Jsp page called a BeanMethod custom jsp tag
*
My BeanManager wrapper code
@Singleton
@Startup
public class MDIObjectFactory {
private static BeanManager beanManager;
private static BeanManager getBeanManager() {
if (beanManager == null) {
try {
Hi Scott,
I've applied the 4.0.10 snapshot and the Alarm issue went away. Thanks.
But Resin consumed all memory after certain hours and resulted in a
halt or restart.
I did a jrockit flight recording and found there was a slow heap
increase during various GCs.
The recording file shows the
10 matches
Mail list logo