How to calculate memory?

I am trying to get the beautiful memory report when it FAILS. But this only appears when this happens.

Is there any way to get the report without FAILING? I only get this

Captura de pantalla 2024-01-12 105545

Thank you!

Any help with this? The only thing that I can get before a FAIL is this