clean up parseTempHeap usage