[fpc-pascal]FPC Overheads

Jonas Maebe jonas at zeus.ugent.be
Wed Apr 16 14:29:11 CEST 2003

On woensdag, apr 16, 2003, at 14:13 Europe/Brussels, James Mills wrote:

> Well as far as the code is concerned, everything is allocated
> dynamically during run-time. Why then would there be a 48Mb overhead ?
> ps says that it's using 48Mb overhead and 2.8Mb of data...

The column you are referring to isn't "overhead" (overhead is simply a 
synonym for cost). It's the virtual memory space allocated for the 
program (VSZ = Virtual Size). This memory is not necessarily in use or 
even explicitly allocated. It includes at least the code, stack, data, 
memory mapped files (including shared libraries the program links 
against) and allocated memory.


More information about the fpc-pascal mailing list