Hammer should have a build-time option to not use the arena malloc
The Hammer arena malloc interferes with valgrind use; there should be a build-time option to do something like replace it with one that does one system malloc() per Hammer malloc(), and frees a list of them when the arena is freed.