Re: Finding out in code how much memory my application uses

2008-09-09 Thread Michael Ash
On Mon, Sep 8, 2008 at 9:04 PM, Aaron VonderHaar <[EMAIL PROTECTED]> wrote: > Hi, I am trying to write some automated scenario tests that verify > that my application meets it's the memory usage constraint > requirements. > > What API is available to find out how much memory an > application/proce

Re: Finding out in code how much memory my application uses

2008-09-08 Thread Jason Coco
I would suggest using the DTrace stuff... either using instruments or using DTrace scripts directly... there is tons of good information about DTrace at google. You can also look at /usr/include/mach directory for various mach calls regarding process statistics, including memory usage (all