Hi @hoona75,
The compiler has the option for code size enabled by default:

This blog from MCU on Eclipse explains the differences between these values: text, data and bss: Code and Data Size Explained | MCU on Eclipse.
In short, ‘data’ is for initialized variables, and it counts for RAM and FLASH. The linker allocates the data in FLASH which then is copied from ROM to RAM in the startup code.
Unfortunately, there are no integrated functions for specific monitoring - customer needs to write his own utility for memory management.
Best regards,
Julián