work on code style and add a test case to check memory size occupied by memcached after relase.