I am having the same issue. The /usr/lib/snapd/snapd memory usage grows very large and never releases. Here is what my application does:
1) In runtime attach volumes to the ubuntu server using the OpenStack cinder 2) run FIO test on each volume every 30 seconds 3) randomly detach volumes the snapd grows too large that I get "[Errno 12] Cannot allocate memory" trying to run any application (even pkill) so the only option is rebooting the system. Even when I stop my application, the memory won't release unless reboot. I am using FIO version: fio-2.2.10 Below is my ubuntu version (its 32 bit): Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial ubuntu@vm-1:~$ uname -a Linux vm-1 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:59 UTC 2016 i686 i686 i686 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1642068 Title: snapd memory sizes grows huge over time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs