Problem 592

Summary: Memory bloat with G4HadronInelasticProcess/G4BinaryLightIonReaction
Product: Geant4 Reporter: corneliu
Component: processes/hadronic/modelsAssignee: Gunter.Folger
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.0   
Hardware: PC   
OS: Linux   

Description corneliu 2004-02-23 06:54:36 CET
In short my application is "eating" memory whilst implementing the
G4HadronInelasticProcess/G4BinaryLightIonReaction process/model (See posting
143 in Hadronic Processes section of online forum). Analysis with valgrind has
not shown a memory leak. The bloat is not severe for relatively thin targets,
however I need to simulate a beam of GeV ions stopping in a thick target, in
this case all available memory is consumed. I have stripped my simulation to a
very simple geometry (10x10x10 m^3) block of lead with an incident (pencil) beam
of 1 GeV alpha particles. Source code is available by email. I am running linux
redhat 9.0 with gcc 3.2.2.
Thanks and Best Regards,
Iwan
Comment 1 Hans-Peter.Wellisch 2004-03-04 07:29:59 CET
Dear Gunter,

  can you have a look at this one?

Many greetings,

Hans-Peter.
Comment 2 Gunter.Folger 2004-03-08 03:50:59 CET
Can you please make the source code available to me - either in mail or giving a
URL?

Gunter
Comment 3 Gunter.Folger 2004-03-17 03:59:59 CET
Fixed in G4BinaryLightIOnReaction.cc with tag ghad-bin-V06-00-01