was leaking memory costs