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] Find error? ... memory

2004-11-10 Thread Peter Vreman
>> Regarding the EOutOfMemory exception, is that thrown only when all >> (physical+virtual) memory is exhausted? > > I don't know, but perhaps you need a bigger stack and/or heap. (We've had > to increase ours a couple times; I don't know what the defaults are) > > From the programmer's manual: > {

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] Find error? ... memory

2004-11-10 Thread David Emerson
> Regarding the EOutOfMemory exception, is that thrown only when all > (physical+virtual) memory is exhausted? I don't know, but perhaps you need a bigger stack and/or heap. (We've had to increase ours a couple times; I don't know what the defaults are) From the programmer's manual: {$M StackSiz