OK,some problem of memory manager has been solved

Figure out some vital problem,but maybe,there exist some small problem I
ignore,so ,If you have found,call me at once.