Where Is All That FLASH Space Going?

That is a good question about generating a strorage allocation map. However, it is not only program code. If you are using PROGMEM or the F() macro for strings etc., these eat up the flash memory also.