Bitvavo interview question

How is heap dump and thread dump useful?