mysql percona 5.7 not releasing memory
MySQL doesn't &quot;release memory&quot; that is allocated statically, for example innodb_buffer_pool_size. These allocations will consume more memory until they reach the configured limit and then stay there. The only way to &quot;release it&quot; is to reduce the size of those variables. You can reduce innodb_buffer_pool_size at runtime without restarting mysqld on 5.7.