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 "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/11/20 10:29:01 UTC

[jira] Created: (AXIS2C-415) Memory allocated for thread in axis2_thread_pool_get_thread never freed

Memory allocated for thread in axis2_thread_pool_get_thread never freed
-----------------------------------------------------------------------

                 Key: AXIS2C-415
                 URL: http://issues.apache.org/jira/browse/AXIS2C-415
             Project: Axis2-C
          Issue Type: Sub-task
    Affects Versions: 0.95
            Reporter: Samisa Abeysinghe
         Assigned To: Samisa Abeysinghe


The call to axis2_thread_create allocated memory for a thread struct, but is never freed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
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-415) Memory allocated for thread in axis2_thread_pool_get_thread never freed

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-415?page=comments#action_12454321 ] 
            
Samisa Abeysinghe commented on AXIS2C-415:
------------------------------------------

Though the memory leak is fixed, our thread pool is not a real thread pool. It creates a new thread each time one is requested form pool and do not pool, but rather free it when the thread is released back to the pool. This needs to be fixed as a seperate issue.

> Memory allocated for thread in axis2_thread_pool_get_thread never freed
> -----------------------------------------------------------------------
>
>                 Key: AXIS2C-415
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-415
>             Project: Axis2-C
>          Issue Type: Sub-task
>    Affects Versions: 0.95
>            Reporter: Samisa Abeysinghe
>         Assigned To: Samisa Abeysinghe
>             Fix For: 0.96
>
>
> The call to axis2_thread_create allocated memory for a thread struct, but is never freed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXIS2C-415) Memory allocated for thread in axis2_thread_pool_get_thread never freed

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-415?page=all ]

Samisa Abeysinghe closed AXIS2C-415.
------------------------------------

    Fix Version/s: 0.96
       Resolution: Fixed

Managed to fix this

> Memory allocated for thread in axis2_thread_pool_get_thread never freed
> -----------------------------------------------------------------------
>
>                 Key: AXIS2C-415
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-415
>             Project: Axis2-C
>          Issue Type: Sub-task
>    Affects Versions: 0.95
>            Reporter: Samisa Abeysinghe
>         Assigned To: Samisa Abeysinghe
>             Fix For: 0.96
>
>
> The call to axis2_thread_create allocated memory for a thread struct, but is never freed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org