Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Memory leak when mounting volumes? #14

Description

@OskarPersson

Is there a memory leak in the API? Running the script below from the python interpreter results in a very high memory usage that stays high until exiting the python interpreter.

#foo.py

from gluster.gfapi import Volume

def main():
    for _ in xrange(20):
        v = Volume("master", "glustervolume")
        v.mount()
        v.umount()

if __name__ == "__main__":
    main()

This can also be seen using the vprof memory profiler

$ vprof -c cmh -s bar.py

Or am I missing something?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions