I suspect the 4,000 _assertPred instances add a lot to the memory consumption, as well as it taking a looong time to compile them all on my poor FreeBSD box. I know we've had this discussion before, but boring old assert() is quick to compile and memory efficient.