[fpc-pascal]FPC Overheads

James Mills prologic at prologitech.com
Wed Apr 16 15:16:16 CEST 2003


On Wed, Apr 16, 2003 at 02:29:11PM +0200, Jonas Maebe wrote:
> 
> 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.

Alright... I'll have to do my bit of research into what all the values
in ps mean :P heh.

Thanks

James

> 
> 
> Jonas
> 
> _______________________________________________
> 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