Message: managing memory Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback managing memory 

Forum: Run Management
Re: None managing memory (Neil Fazel)
Re: None RE: managing memory (Makoto Asai)
Re: Question Re: RE: managing memory (Neil Fazel)
Re: None RE: RE: managing memory (Makoto Asai)
Date: 13 Jul, 2010
From: Neil Fazel <Neil Fazel>

On Tue, 13 Jul 2010 17:57:17 GMT, Asai, Makoto wrote:
> G4Event and related objects including trajectories are
> automatically deleted when processing an event is done,
> unless you specifically do something special. Do NOT
> delete G4Event in your EndOfEventAction.
> Do you use parameterized volume? If so, check your code
> which is invoked for every step and see if you instantiate
> anything.

Thanks. I don't use parameterized volumes. I did find a glaring memory leak from not deleting the G4ElectronIonPair instance. After fixing that, I tried 10000 and then 100000 events using 250 MeV electrons. It finished in a few minutes with no problem.

I appreciate your feedback.


 Add Message Add Message
to: "managing memory"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]