High memory usage of WPs caused by a memory leak