Simulation failed error - how to know what went wrong

The following error messages were received after a simulation failed:

produced by Sim4Life version 7.0.1.8169
Rectilinear Discretization to Input File. Elapse Time: 284.204 s
ERROR: Simulation 'broadband' reports the following failure:
ERROR: bad allocation
ERROR: Simulation 'broadband' failed on 2022-Jul-21 10:18:03
ERROR: iSolve framework failed (see previous error messages).
ERROR: The solver process returned an error code:

What does "bad allocation" implies?

do you know what line caused this ?
if not try to comment some code to find reason