heads up: I just landed https://issues.apache.org/jira/browse/TS-2547, which means no more use of the NEW(new ….) pattern. Just use normal new semantics, and if you need to memory profile / debug, just use tcmalloc or jemalloc. (Fwiw, NEW() never did anything before either, at least not since pre-Yahoo days).
Cheers, — leif