title: How to profile shared memory?
body: <p>I have a program that has a peak memory usage of 66MB that I'm trying to profile with Valgrind Massif. Unfortunately, Massif shows only 800KB of peak memory usage. On the other hand, top tells me that 65MB are shared memory. Is it possible to profile shared memory usage of a program in Linux?</p>