Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe windows 'explorer' gives you the file size - this includes a lot of stuff that isn't loaded (symbol tables, debug info, etc).
'nios2-elf-size -A test_sram.elf' will give you the sizes of all the sections, butthe output from 'objdump -p' (program sections - for loader) and 'objdump -h' (elf sections) is normally more use. I suspect the heap size you have is the configured size, not the size used.