fix bugs of mem event
fix bugs of cur_page size overflow
add two test command for test.
add some of mem day consume, is not ok yet.