Below picture express memory usage about basic project(empty main). I think that need to insert gcc compiler option for remove unused function. 