[fpc-pascal]Memory Usage

Peter Vreman peter at freepascal.org
Mon May 12 07:12:28 CEST 2003


> 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.







More information about the fpc-pascal mailing list