fix memory test.
remove log print.