I'm looking for a way of knowing the RAM usage (%) of a program. I'm using libraries and I just solved a problem related to memory usage. That is, it goes wrong when a static (global) array is too big. However, the linker never gave any error nor warning.
Is there a way of knowing the maximum memory usage of a program after linking, you know, the worst case when an ISR that uses local variables is executed while the stack is already used a lot and so on...