How can you determine how much memory is consumed by a specific
operation of a Unix program?
Valgrind 's Massif subsystem could help you in this regard,
but it can be difficult to isolate a specific operation from
Massif's output.
Here is another, simpler way.
