Static memory footprint analysis

Ingolf Steinbach ingolf.steinbach at
Mon Mar 9 14:02:39 UTC 2009


is it possible to calculate the memory footprint of an RTEMS/sparc
application (which does NOT use dynamic memory allocation like
malloc()) by just analyzing the ELF file? Something like:

% sparc-rtems-objdump --headers application.exe |
% sparc-rtems-gdb application.exe
(gdb) print Configuration.work_space_size

and then add the outputs. Which memory consuming components are not
covered by this (i.e. is there more than ALLOC sections and RTEMS

(RTEMS-4.6.5 solution preferred)

Kind regards

More information about the users mailing list