[1]simple stop start startmem [2]fix memory leak