You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "johan rydberg (Commented) (JIRA)" <ji...@apache.org> on 2012/03/23 08:28:22 UTC

[jira] [Commented] (ZOOKEEPER-1431) zkpython: aget is leaking memory

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236430#comment-13236430 ] 

johan rydberg commented on ZOOKEEPER-1431:
------------------------------------------

https://github.com/apache/zookeeper/blob/trunk/src/contrib/zkpython/src/c/zookeeper.c#L487

Shouldn't arglist be decref'ed after the call?

That drops my tuple count from ~55k to ~5k after a zktest3.py run.

                
> zkpython: aget is leaking memory
> --------------------------------
>
>                 Key: ZOOKEEPER-1431
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1431
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>    Affects Versions: 3.3.3
>         Environment: RHEL 6.0, self-built from 3.3.3 sources
>            Reporter: johan rydberg
>         Attachments: zktest3.py, zktest4.py
>
>
> I'm seeing a memory leakage when using the "aget" method.
> It leaks tuples and dicts, both containing "stats".

--
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