Created attachment 570 [details] Run macro to show the described behavior Hello, I am using geant4.10.05 on a Ubuntu 16.04.6 machine. I need to bias the decay of radioactive nuclei, and I used the command /grdm/sourceTimeProfile When the command is used, the memory used by the program increases with time, leading eventually to a crash if the number of events is large enough. When the command is not used, the memory usage is constant in time. I monitored the memory usage using htop. I could confirm this problem with the example rdecay02 and the attached file, derived by the macro isotopes.mac provided with the example. By uncommenting the line /grdm/sourceTimeProfile macros/beam.data the effect can be seen. Best regards, Matteo
I fixed a major memory leak in G4Radioactivation. rdecay02 now leaks 60% less memory. The size of the application still grows with time, but I think its source is elsewhere.