Use svn pools to solve the memory leak problem.