You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Jared Hanson (JIRA)" <ji...@apache.org> on 2007/02/23 17:28:05 UTC

[jira] Created: (AXIS2C-537) Severe memory leak in process_http_post_request

Severe memory leak in process_http_post_request
-----------------------------------------------

                 Key: AXIS2C-537
                 URL: https://issues.apache.org/jira/browse/AXIS2C-537
             Project: Axis2-C
          Issue Type: Bug
         Environment: All
            Reporter: Jared Hanson
            Priority: Critical


In axis2_http_transport_utils_process_http_post_request(), there is a soap_builder and two soap_body's (in and out) that get constructed and never free'd.  These are rather large structures, and can cause memory leaks of many MB within a matter of minutes.  Further details have been posted to the mailing list.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-537) Severe memory leak in process_http_post_request

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe updated AXIS2C-537:
-------------------------------------

    Fix Version/s: 1.0.0

> Severe memory leak in process_http_post_request
> -----------------------------------------------
>
>                 Key: AXIS2C-537
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-537
>             Project: Axis2-C
>          Issue Type: Bug
>         Environment: All
>            Reporter: Jared Hanson
>         Assigned To: Samisa Abeysinghe
>            Priority: Critical
>             Fix For: 1.0.0
>
>
> In axis2_http_transport_utils_process_http_post_request(), there is a soap_builder and two soap_body's (in and out) that get constructed and never free'd.  These are rather large structures, and can cause memory leaks of many MB within a matter of minutes.  Further details have been posted to the mailing list.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-537) Severe memory leak in process_http_post_request

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481798 ] 

Samisa Abeysinghe commented on AXIS2C-537:
------------------------------------------

The soap builder instance and the two soap bodys are freed when the message context is freed. Message context gets freed when the request completes.

Can you please mention the tool that you are using to detect leaks?

> Severe memory leak in process_http_post_request
> -----------------------------------------------
>
>                 Key: AXIS2C-537
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-537
>             Project: Axis2-C
>          Issue Type: Bug
>         Environment: All
>            Reporter: Jared Hanson
>            Priority: Critical
>
> In axis2_http_transport_utils_process_http_post_request(), there is a soap_builder and two soap_body's (in and out) that get constructed and never free'd.  These are rather large structures, and can cause memory leaks of many MB within a matter of minutes.  Further details have been posted to the mailing list.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-537) Severe memory leak in process_http_post_request

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481575 ] 

Samisa Abeysinghe commented on AXIS2C-537:
------------------------------------------

What is the version you are using? SVN Head?

Also, if possible, can you point to the lines of code or the memory leak report that you have.

Thanks...



> Severe memory leak in process_http_post_request
> -----------------------------------------------
>
>                 Key: AXIS2C-537
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-537
>             Project: Axis2-C
>          Issue Type: Bug
>         Environment: All
>            Reporter: Jared Hanson
>            Priority: Critical
>
> In axis2_http_transport_utils_process_http_post_request(), there is a soap_builder and two soap_body's (in and out) that get constructed and never free'd.  These are rather large structures, and can cause memory leaks of many MB within a matter of minutes.  Further details have been posted to the mailing list.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-537) Severe memory leak in process_http_post_request

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe resolved AXIS2C-537.
--------------------------------------

    Resolution: Fixed

Fixed by freeing the thread resources in serever thread worker function

> Severe memory leak in process_http_post_request
> -----------------------------------------------
>
>                 Key: AXIS2C-537
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-537
>             Project: Axis2-C
>          Issue Type: Bug
>         Environment: All
>            Reporter: Jared Hanson
>         Assigned To: Samisa Abeysinghe
>            Priority: Critical
>             Fix For: 1.0.0
>
>
> In axis2_http_transport_utils_process_http_post_request(), there is a soap_builder and two soap_body's (in and out) that get constructed and never free'd.  These are rather large structures, and can cause memory leaks of many MB within a matter of minutes.  Further details have been posted to the mailing list.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-537) Severe memory leak in process_http_post_request

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe reassigned AXIS2C-537:
----------------------------------------

    Assignee: Samisa Abeysinghe

> Severe memory leak in process_http_post_request
> -----------------------------------------------
>
>                 Key: AXIS2C-537
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-537
>             Project: Axis2-C
>          Issue Type: Bug
>         Environment: All
>            Reporter: Jared Hanson
>         Assigned To: Samisa Abeysinghe
>            Priority: Critical
>
> In axis2_http_transport_utils_process_http_post_request(), there is a soap_builder and two soap_body's (in and out) that get constructed and never free'd.  These are rather large structures, and can cause memory leaks of many MB within a matter of minutes.  Further details have been posted to the mailing list.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org