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

None RE: managing memory 

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


Given the incident energy of a few GeV, 100 is quite a small number.
First of all, if you are visualizing all the events, that is the
first thing to drop. Secondarily, if you keep trajectories or
events themselves for more than one events, that should be given
up. If your problem still persists, check all the user objects you
instantiate during the event, e.g. hits, are properly deleted at
the end of each event.

Hope this helps,

> -----Original Message-----
> From: Neil Fazel []
> Sent: Monday, July 12, 2010 6:57 PM
> To: runmanage-g4hn
> Subject: managing memory
> *** Discussion title: Run Management
> Hello. I'm simulating helium ionization in response to incident
> multi-GeV electrons. I find that when I try to simulate more than 100
> events (/run/beamOn 100), the computer comes to a grinding halt. I'm
> guessing it's keeping track of a lot of information which I don't care
> about; I'm only interested in the number of ion pairs created in helium.
> (I'm using the class G4ElectronIonPair.)
> Is there a way to manage what type of data is stored during a run? I
> think I need to simulate 100000 multi-GeV electrons in order to get
> good
> statistics, and so far I haven't been able to simulate more than 100
> electrons. I also tried replacing /run/beamOn 1000 with /run/beamOn 100,
> repeated 10 times. But it made no difference; the program came to halt.
> Is there a way to flush the memory between runs?
> I would appreciate any tips on how to get a handle on the memory usage.
> Thanks, Neil
> -------------------------------------------------------------
> Visit this GEANT4 at message (to reply or
> unsubscribe) at:
> tml

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: RE: managing memory   (Neil Fazel - 13 Jul, 2010)
(_ None: RE: RE: managing memory   (Asai, Makoto - 13 Jul, 2010)
(_ Feedback: managing memory   (Neil Fazel - 13 Jul, 2010)
 Add Message Add Message
to: "RE: 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 ]