-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
Description
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?