[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: finding the memory used by programs



On Fri, Apr 15, 2005 at 06:42:02PM -0400, Kamaraju Kusumanchi wrote:
> Hi
>   I have a Fortran 90 program parallellized using MPICH. It is
> crashing if I am using large arrays but it is working perfectly fine, if
> I use small arrays. The code is too big to post here.
> 
>   In order to gain better understanding of what is going on, I want to
> know how much memory is actually used by the programs. The ideal
> solution would be a program which gives the memory utilized vs time
> graph when the program is running.
> 
> One way is to actually go through the program and count the size of
> variables but I am thinking there is a better way than this. I also
> tried using top, but it is very dynamic and I have note down the numbers
> by hand.
> 
> If it is of any help, I am using Debian Sid, kernel 2.6.9-1-686.
> 
> Any ideas?
apt-get install isag 
hth
Kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
        _,           _,      ,'`.
      `$$'         `$$'     `.  ,'
       $$           $$        `'
       $$           $$         _,           _
 ,d$$$g$$  ,d$$$b.  $$,d$$$b.`$$' g$$$$$b.`$$,d$$b.
,$P'  `$$ ,$P' `Y$. $$$'  `$$ $$  "'   `$$ $$$' `$$
$$'    $$ $$'   `$$ $$'    $$ $$  ,ggggg$$ $$'   $$
$$     $$ $$ggggg$$ $$     $$ $$ ,$P"   $$ $$    $$
$$    ,$$ $$.       $$    ,$P $$ $$'   ,$$ $$    $$
`$g. ,$$$ `$$._ _., $$ _,g$P' $$ `$b. ,$$$ $$    $$
 `Y$$P'$$. `Y$$$$P',$$$$P"'  ,$$. `Y$$P'$$.$$.  ,$$.

Attachment: signature.asc
Description: Digital signature


Reply to: