MapFileStats 1.5

By Eric Grange

Freeware 14 Dec 2013

In category

Developer Tools > Debug Tools > Debug and Trace Tools


MapFileStats provides simple binary size statistics from .MAP files.

.map files can be produced by Delphi during the linking phase, they provide symbolic information on the executable they were generated for. MAPFileStats uses them to provide some simple statistics on the compiled executable binary.

Three values are provided for each unit included in your executable:

  • Compiled Size: the size in bytes taken by the unit’s code in the executable.
  • DFM size: the size of the DFM file associated to the unit, corresponds to the size of the first matching DFM file in the search path.
  • Ratio DCU Size: the ratio between the size of the DCU of a unit, and its compiled size. Intended to locate units you depend on, but from which you use only a fraction of the code.
  • Detects project location in parent folders of MAP file.
  • Ability to copy lines to clipboard.
MapFileStats can be integrated into the Delphi IDE tools menu, use $EXENAME in the parameters field to have it open on the current executable project’s MAP file.

Don’t forget to enable MAP file generation in your project’s linker options, the smallest and fastest MAP file generation option (Segments) provides all the info MAPFileStats currently uses.


  • Status: Fully functional
  • Source: FW
  • Size: 883 700kB


  • Delphi 2005 (VCL)
  • Delphi 2006 (Win32)
  • Delphi 2007 (VCL)
  • Delphi 2009
  • Delphi 2010
  • Delphi 7
  • Delphi XE
  • Delphi XE 2
  • Delphi XE3
  • Delphi XE4
  • Delphi XE5