I had the same problem in 5.2.1 and 5.3.2, i switched the package build to shipping and the memory leak goes away.