So i am not running out of flashmemory.
You can't necessarily draw that conclusion. The amount of SRAM used AT COMPILE TIME (that the message shows) and the amount of SRAM used AT RUN TIME are not the same. The run time use can be a lot higher.
Though, running out of memory is probably not an issue. We need to see your code, though, to be sure.