You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Thomas Marsh (JIRA)" <ji...@apache.org> on 2011/09/20 23:04:08 UTC

[jira] [Created] (ETCH-176) Memory allocated on each service call not released until

Memory allocated on each service call not released until 
---------------------------------------------------------

                 Key: ETCH-176
                 URL: https://issues.apache.org/jira/browse/ETCH-176
             Project: Etch
          Issue Type: Bug
          Components: c-binding
         Environment: Platform independent - seen on 32-but Linux (CentOS 5.6)
            Reporter: Thomas Marsh


Around 32 bytes are leaked on average for every service invocation in the C binding. It does not occur for every invocation, but a simple test on the helloworld example performing a tight loop over the say_hello method demonstrated this leak. The memory consumption is visible in the OS process monitor, and was verified using valgrind on Linux.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ETCH-176) Memory allocated on each service call not released until

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

Thomas Marsh updated ETCH-176:
------------------------------

    Attachment: mutex_leak.patch

Note that the mutex lock on g_etch_main_pool_mutex may no longer be necessary. I have left it in to be on the safe side.

> Memory allocated on each service call not released until 
> ---------------------------------------------------------
>
>                 Key: ETCH-176
>                 URL: https://issues.apache.org/jira/browse/ETCH-176
>             Project: Etch
>          Issue Type: Bug
>          Components: c-binding
>         Environment: Platform independent - seen on 32-but Linux (CentOS 5.6)
>            Reporter: Thomas Marsh
>         Attachments: mutex_leak.patch
>
>
> Around 32 bytes are leaked on average for every service invocation in the C binding. It does not occur for every invocation, but a simple test on the helloworld example performing a tight loop over the say_hello method demonstrated this leak. The memory consumption is visible in the OS process monitor, and was verified using valgrind on Linux.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (ETCH-176) Memory allocated on each service call not released until

Posted by "Michael Fitzner (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ETCH-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Fitzner reassigned ETCH-176:
------------------------------------

    Assignee: Michael Fitzner
    
> Memory allocated on each service call not released until 
> ---------------------------------------------------------
>
>                 Key: ETCH-176
>                 URL: https://issues.apache.org/jira/browse/ETCH-176
>             Project: Etch
>          Issue Type: Bug
>          Components: c-binding
>         Environment: Platform independent - seen on 32-but Linux (CentOS 5.6)
>            Reporter: Thomas Marsh
>            Assignee: Michael Fitzner
>         Attachments: mutex_leak.patch
>
>
> Around 32 bytes are leaked on average for every service invocation in the C binding. It does not occur for every invocation, but a simple test on the helloworld example performing a tight loop over the say_hello method demonstrated this leak. The memory consumption is visible in the OS process monitor, and was verified using valgrind on Linux.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira