Dear Experts,
I am having an issue with my simulation when running a run with many events.
I made my simulation and tested it in both multi-thread and sequential mode for up 20k events of incident high energy muons and everything seemed to work fine. The ntuples and histograms I saved and the printed information about the events were all working surely right.
But now I tried a larger simulation in multi-thread mode (100k events0 and I got the following error just after finishing the 54904 event in thread 0 :
G4WT0 > —> End of event: 54904
G4WT0 > Tank: total energy deposited : 10.0623 GeV
G4WT0 > Tank: muon path length : 42 m
G4WT0 > Muon initial kinetic energy : 187.692 GeV
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted (core dumped)
Any ideas about the possible problems?
Many thanks for your help.