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

finding the memory used by programs



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?
raju



Reply to: