593e925a73
This is simpler than the custom memory tracker I added earlier, and is also needed by the dash arith code I plan to import.