Message: Re: Geant4 eating up memory! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Geant4 eating up memory! 

Forum: Run Management
Re: Question Geant4 eating up memory! (Zach Hartwig)
Date: 07 Jul, 2005
From: Vladimir IVANTCHENKO <vnivanch@mail.cern.ch>

On Wed, 6 Jul 2005, Zach Hartwig wrote:

> *** Discussion title: Run Management
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/runmanage/104"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Hi everyone,
> 
> I'm currently having a nasty problem with Geant4 and memory.
> During run-time, Geant4 rapidly consumes memory.  If a sufficient 
> number of events are generated (~100), Geant4 eventually eats up 
> all the available memory and freezes the computer.  
> 
> A simple description:  I have a circular "storage" tube composed 
> of 12 identical "G4Tubs" sections of 30 degrees each composed
> of vacuum.  There are 1cm thick aluminum walls that surround each 
> of the 12 vacuum sections, each of the 4 walls (top,bottom,2 sides) 
> are also "G4Tubs" of 30 degrees each.  A magnetic field, that I have 
> derived from G4MagneticField, is placed within the regions surrounded 
> by the aluminum walls. 
> 
> Things I have tried to eliminate memory issues:
> -eliminated all optional user classes(ie, eventAction, steppingAction...)
> -ran the geant4 geometry tests and got no overlapping, no spurious errors
> -stripped down my complicated geometry to the one described above
> -turned off trajectory storage
> -ran Geant4 with memory checker "valgrind"
> -ensured all created objects are deleted
> 
> Any suggestions on where to find these mysterious and devastating memory
> leaks would be greatly appreciated!  Thanks very much.
> 
> ~Zach
> 
> 

Please, run any of G4 official example. If you will have the same leak, it
will be an indication of problem of installation, if no - problem in your
application.

VI

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

 Add Message Add Message
to: "Re: Geant4 eating up 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 ]