[Carbon-dev] Fixes for Load Balancer potential memory leaks

Kathiravelu Pradeeban pradeeban at wso2.com
Thu Mar 17 23:39:17 PDT 2011


Hi Sameera,
It was noted that you have fixed a considerable amount of memory leak
in the ESB based load balancer.

This included separating the registering the MBean, which is currently
placed inside the setName() of
org.apache.synapse.endpoints.AbstractEndpoint, as discussed in Synapse
JIRA [2].

        metricsMBean = new EndpointView(endpointName, this);
        MBeanRegistrar.getInstance().registerMBean(metricsMBean,
"Endpoint", endpointName);


But unfortunately, the code changes are not committed to our custom
synapse development branch [3]. Could you please consider committing
them sooner, so that I would be able to avoid going through the same
fixes, as I am currently working on the ESB based load balancer to
make it work better with Stratos.

Pls let me know, if I have missed something here.

[1] https://wso2.org/jira/browse/STRATOS-860
[2] https://issues.apache.org/jira/browse/SYNAPSE-726
[3] https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/synapse/modules/core/src/main/java/org/apache/synapse/endpoints

Thank you.
Regards,
Pradeeban.
-- 
Kathiravelu Pradeeban.
Software Engineer.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/


More information about the Carbon-dev mailing list