Nope — there is no background daemon looking at that ➜ out of RAM = crash or bugs (some libraries will just not do what's expected from them when the ram request cannot be fulfilled).
if you depend on dynamic memory allocation to a point there is a risk of stack overflow / heap colliding with the stack then you should implement mitigation techniques like check allocations are successful etc. Ideally you should do that all the time as a good practice and limit the use of dynamic allocations on small micro-controllers