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

Re: Prob. with memprof (was: Re: top tells me X is using 80 Mb!)



On Nov 28 2000, Jeronimo Pellegrini wrote:
> So... IS there some other application I could use to find memory
> leaks, other than memprof?

	Wow. I didn't know this memprof thing. Quite cool, huh? The
	only memory analyzing program that I knew about was memstat,
	which:

	1 - is more of a static nature (you don't see allocations of
	    programs happening like you see with memprof);
	2 - it has smaller granularity (i.e., only gives you a view of
	    the whole system);
	3 - has a bug in version 0.2 when running under X (it displays
	    /dev/mem having a huge size and accounting it in the total
	    memory used by the applications).

> Memprof sems to be totally undocumented, and I tried several of the
> command line options, none of which worked...

	What did you try? I did some things here and it displayed some
	cool graphics. Nice toy. I still don't know precisely what to
	do with all the data it generates, tough. :-) I guess that
	I'll learn to use it with when I write some programs (which
	are usually small and simple).

	So, I guess that all this message says is: I don't know an
	alternative to memprof.


	[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Reply to: