Destroy all objects we can in order to minize memory usage.
These changes free-up almost all memory taken up by the process, except
for parser memory. Parsing a large page can take as much as 20mb that i
could not reclaim. Clearing parser cache does help but not all memory is
Needs cherry-picking to REL1_31