I have tested using valgrind , the new version fixes memory leak issue. python /tmp/d.py 100
==8200== LEAK SUMMARY: ==8200== definitely lost: 546,282 bytes in 99 blocks ==8200== indirectly lost: 0 bytes in 0 blocks ==8200== possibly lost: 6,582 bytes in 3 blocks ==8200== still reachable: 839,804 bytes in 1,221 blocks ==8200== suppressed: 0 bytes in 0 blocks ==8200== Rerun with --leak-check=full to see details of leaked memory ==8200== ==8200== For counts of detected and suppressed errors, rerun with: -v ==8200== Use --track-origins=yes to see where uninitialised values come from ==8200== ERROR SUMMARY: 639 errors from 36 contexts (suppressed: 0 from 0) ubuntu@moon:~$ dpkg -l |grep libvirt ii libvirt-bin 1.2.2-0ubuntu13.1.2 amd64 programs for the libvirt library ii libvirt0 1.2.2-0ubuntu13.1.2 amd64 library for interfacing with different virtualization systems ii python-libvirt 1.2.2-0ubuntu1 amd64 libvirt Python bindings python /tmp/d.py 100 ==10116== LEAK SUMMARY: ==10116== definitely lost: 0 bytes in 0 blocks ==10116== indirectly lost: 0 bytes in 0 blocks ==10116== possibly lost: 1,064 bytes in 2 blocks ==10116== still reachable: 839,926 bytes in 1,221 blocks ==10116== suppressed: 0 bytes in 0 blocks ==10116== Rerun with --leak-check=full to see details of leaked memory ==10116== ==10116== For counts of detected and suppressed errors, rerun with: -v ==10116== Use --track-origins=yes to see where uninitialised values come from ==10116== ERROR SUMMARY: 706 errors from 36 contexts (suppressed: 0 from 0) ubuntu@moon:~$ dpkg -l |grep libvirt ii libvirt-bin 1.2.2-0ubuntu13.1.4 amd64 programs for the libvirt library ii libvirt0 1.2.2-0ubuntu13.1.4 amd64 library for interfacing with different virtualization systems ii python-libvirt 1.2.2-0ubuntu2 amd64 libvirt Python bindings ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365250 Title: nova-compute memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1365250/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs