Hi , It is observed that stack changes for a program on its invocation mulitple times on linux. Distribution - Fedora Core release 4 (Stentz) Kernel Version - 2.6.11 $> cat hello.c ####################################################### #include <stdio.h> main() { printf("\n Hello \n "); printf("\n Take a break by sleeping for 5 seconds ... \n "); sleep(5) ; } ####################################################### STEP 1 ********** $> ./hello and immediately run STEP 2 *********** $> ps -aeo rss,vsize,comm | grep hello ; echo ; pmap `ps -aeo pid,comm | grep hello | awk '{print $1}'` You will see that if you repeat the above steps multiple times ( after the program exits), the stack in 'pmap' output & 'vsize' in ps output keeps changing , though the Resident set size of the process remains same across all invocations. Could somebody please explain this behaviour . Cheers __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/