Significantly reduce leaked memory.