Memory usage of InMemory Storage Engine

There should not be places that allocates memory outside of tcmalloc.

How do you measure 18GB memory usage?