test the memory leak

the reason of memory leak was std::out too fast