[fpc-pascal]Memory Usage

James Mills prologic at prologitech.com
Mon May 12 10:57:41 CEST 2003


On Mon, May 12, 2003 at 07:12:28AM +0200, Peter Vreman wrote:
> > Hi,
> >
> > I'd like to know why one of my programs pircsrv written in FPC uses up so
> > much
> > memory. 107Mb of virtual memory (so it seems) and 7Mb of data.
> > Here is the top stats...
> >
> > This is the compilation line in the Makefile ...
> >
> > debug: $(pircsrv)
> >    fpc -bl -gg -gc -gl -S2 $(pircsrv)
> >
> > The source is 764Kb, 67 source files, 18103 lines.
> 
> Try compiling with -ghl to check for memory leaks.

I have. I do not fully understand the output though when the program
exits. Still reading the documentation on the heaprtl

cheers
James

> 
> 
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list