Minor: You can also say

    throw MakeStringExceptionDirect(ROXIEMM_MEMORY_POOL_EXHAUSTED, msg.str());

which is slightly more efficient.  We should really rename it, the name isn't great.