Determining the memory usage of a program

Simon Burton simonb at webone.com.au
Tue Feb 12 21:27:46 EST 2002


Peter Barker wrote:

> On Tue, 12 Feb 2002, Michael Still wrote:
> 
> 
>>I have a program which takes quite a while to run, and eventually dies --
>>
> 
> The best sort. Lots of coffee involved.
> 
> 
>>I think because it runs out of memory. I would like a command where I can
>>go:
>>
> 
> Have I mentioned strace before? :-)
> 
> 


ok ok , send button is attached to brain activation routine...
malloc is a system call. ok.

oh, no malloc is not a syscall.
but mmap is, and i guess malloc could call mmap.
now, where did i put that libc source, it's around here somewhere...

\bye





More information about the linux mailing list