remove unneeded memory instance files