How to Resolve Error: section .heap overlaps absolute placed section .stack

Hello, I am having the following error.
section .heap overlaps absolute placed section .stack

I am wondering if there is a way I can adjust the .heap bounds or .stack bounds to accommodate my program.
When I compile our release code I use only 65% of flash memory but I am using 98.1% of RAM. When I try to compile our debug code with additional logging I get the error.

Also, are there strategies you would recommend to optimize memory within our program?

All the best,

Caleb

Related