In my simulation program I use physics list from example N04 I have no problems with electrons, but with pions there is a huge memory leak. Initial size of the program in memory is 26 Mb, after 1000 50GeV pion events it is 104 Mb (RedHat5.1, geant4.1.0) after 904 200GeV pion events it is 318 Mb (Redhat6.1, geant4.1.1) Total deposited energy is less than expected. For 100GeV pions it is only 55GeV The program is in /afs/cern.ch/user/t/tilecal/geant4/tileTB
Seems I identified the problem. The usage of G4FastVector is not consistant with its memory management policy, consistently throughout the LE code. I changed the main usage, and the problem is diminished. There still seems to be something smaller left, but I am down to ~1MB/2000GeV. I am trying to nail this down next. As to the occasional energy non-conservation: This is a known bug. I stems from Harms code and he is investigating.
I have run 100TeV (1.5 days of running on my solaris box) of hadronic flux through the tile set-up, without significant growth in memory usage. There is still something small that I have to nail down, but this should be usable as is. I'll tag, and start the release cycle. As for the energy non conservation, Harm is still working on it.
Received a fix from Harm, now verifying that it actually fixes the problem.
Hi folks, the energy non-conservation finally is fixed as well. I'll tag for the next reference tag. For the meanwhile I have put a tar file of the high_energy code in /afs/cern.ch/user/h/hpw/public/high_energy.tar.gz Many greetings, Hans-Peter.