Created by: qingqing01
@reyoung We have met this problem before in my experiments. This way can prevent the memory leak if not change the C++ code. Please feel free to close this issue if you think we should have better solution here. Fix issue #310 (closed)