If you wrote code with such deep stacktraces, it's all on you.
There's a performance cost to all that excessive stack depth too, often.