|
From: Rares V. <rve...@gm...> - 2007-03-20 00:30:08
|
Hi, I would like to know just the size of the memory my program is using. Does the following information from memcheck answer my question? ==14776== malloc/free: 594,317 allocs, 594,317 frees, 15,403,721 bytes allocated. If not, how can I compute the total memory usage from this massif output: ==14494== Total spacetime: 522,204,199,298 ms.B Thanks a lot, Ray |
|
From: Nicholas N. <nj...@cs...> - 2007-03-20 21:46:41
|
On Mon, 19 Mar 2007, Rares Vernica wrote: > I would like to know just the size of the memory my program is using. > Does the following information from memcheck answer my question? > > ==14776== malloc/free: 594,317 allocs, 594,317 frees, 15,403,721 bytes > allocated. No. That's the total allocated. You want the peak, I presume. > If not, how can I compute the total memory usage from this massif output: > > ==14494== Total spacetime: 522,204,199,298 ms.B You can't, unfortunately. Nick |
|
From: Rares V. <rve...@gm...> - 2007-03-20 22:48:42
|
Nicholas Nethercote wrote: > On Mon, 19 Mar 2007, Rares Vernica wrote: > >> I would like to know just the size of the memory my program is using. >> Does the following information from memcheck answer my question? >> >> ==14776== malloc/free: 594,317 allocs, 594,317 frees, 15,403,721 bytes >> allocated. > > No. That's the total allocated. You want the peak, I presume. > >> If not, how can I compute the total memory usage from this massif output: >> >> ==14494== Total spacetime: 522,204,199,298 ms.B > > You can't, unfortunately. > > Nick > Yes, I would like to know the peak. Is there a way to find it out? Thanks, Ray |
|
From: Nicholas N. <nj...@cs...> - 2007-03-20 22:59:21
|
On Tue, 20 Mar 2007, Rares Vernica wrote: > Yes, I would like to know the peak. > > Is there a way to find it out? Not without modifying Massif. Nick |