Re: [fpc-pascal] Monitoring memory usage

2004-11-10 Thread Alan Mead
Thanks for everyone, I'll tae a look at this. -Alan --- Mattias Gaertner <[EMAIL PROTECTED]> wrote: > On Wed, 10 Nov 2004 08:46:21 +0100 > Florian Klaempfl <[EMAIL PROTECTED]> wrote: > > > Alan Mead wrote: > > > > > Is there an easy way to monitor memory allocations during a > program > > > ru

Re: [fpc-pascal] Monitoring memory usage

2004-11-10 Thread Mattias Gaertner
On Wed, 10 Nov 2004 08:46:21 +0100 Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Alan Mead wrote: > > > Is there an easy way to monitor memory allocations during a program > > run (for debugging purposes)? > > I guess the easiest is using the heaptrc unit and modifying it for your > needs. See

Re: [fpc-pascal] Monitoring memory usage

2004-11-09 Thread Florian Klaempfl
Alan Mead wrote: Is there an easy way to monitor memory allocations during a program run (for debugging purposes)? I guess the easiest is using the heaptrc unit and modifying it for your needs. Ideally, this would be some sort of hook into the memory manager rather than something like gdb because

[fpc-pascal] Monitoring memory usage

2004-11-09 Thread Alan Mead
Is there an easy way to monitor memory allocations during a program run (for debugging purposes)? Ideally, this would be some sort of hook into the memory manager rather than something like gdb because the program runs for hours. A list of the calling subroutine (or line number) and the amoun