Dear all,
I am using the TSystem GetMemInfo and GetProcInfo methods to monitor the CPU memory usage during the execution of a macro. What I would expect to find is something of the order of hundreds of MB for the used memory (at least this is what I get using "top"), while what I get with, for example,
gSystem->GetMemInfo(&memInfo);
cout << " Mem Used = " << memInfo.fMemUsed << endl; //returning value
in MB
is of the order of tens of GB. Probably I have not fully understood what these method return... Could anyone help me in using correctly these methods?
Thank you a lot in advance.
Best Regards,
Chiara
Received on Thu Mar 08 2007 - 16:25:22 CET
This archive was generated by hypermail 2.2.0 : Thu Mar 08 2007 - 23:50:01 CET