Hi Eljay That's very intuitive idea :) my mind was focused on finding a function to use in the source code, thank you very much for that, Kind Regards, Manal 2008/5/16 Eljay Love-Jensen <eljay@xxxxxxxxx>: > Hi Manal, > > Can you put in a ³press any key to quit² routine at the end of main? > > That way the program can block so you can measure the memory footprint using > 'top' or 'ps' or whatever your favorite measuring tool, just before your > application quits. > > HTH, > --Eljay > > -- Kind Regards, Manal Helal