[ 
https://issues.apache.org/jira/browse/SANDESHA2C-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586157#action_12586157
 ] 

Damitha Kumarage commented on SANDESHA2C-27:
--------------------------------------------

To descrease memory leaks the most important things to consider are
1. Whether module introduced operation contexts and message contexts are freed 
properly.
2. If Sandesha2/C call axis2_op_ctx_in_use(), axis2_msg_ctx_set_paused(), 
axis2_msg_ctx_set_keep_alive(),
axis2_op_ctx_increment_ref(), axiom_soap_envelope_increment_ref() to prevent 
memory freeing of op_ctx and msg_ctx structures at the usual time by the axis2 
engine, then we make to
sure if these are actually needed and if they are really needed we need to make 
sure that those constructs are freed properly when they are used. When I look 
at the code I can see that above functions are used inappropriately which 
prevent proper memory freeing. Should investigate on this.

> Do memory leak fixes in Sandesha2c
> ----------------------------------
>
>                 Key: SANDESHA2C-27
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2C-27
>             Project: Sandesha2/C
>          Issue Type: Bug
>            Reporter: Damitha Kumarage
>
> Do memory leak fixes in Sandesha2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to