On Wed, Apr 16, 2008 at 4:10 AM, Gireesh Kumar M <gireesh.mnair at gmail.com> wrote: > > >At a guess, I'd say those are probably thread stacks. > > >You're measuring the wrong thing - the virtual size of the > >application. You don't really need to care about the virtual size - > >these thread stacks don't get faulted into actual physical ram. > > >Mike > Mike, > What I understand from your explanation is > 1. The virtual size shown by 'top' and 'pmap' doesn't mean that my > application is eating up much space in the physical memory. > 2. I can safely ignore this memory usage shown. > Please correct me if I'm wrong. > > Now, how can I confirm this? My point is, is there any utility to measure > the physical ram usage? Top will show that in the "RSS" column (Resident Set Size - this is the amount of memory actually resident in physical memory). Mike