Message: Memory of Hit collection not released. memory leak Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Memory of Hit collection not released. memory leak 

Forum: Persistency
Date: 18 May, 2011
From: Hans Wenzel <Hans Wenzel>


I think I followed the standard example, to make a volume sensitive and to fill a hit collection. The problem that I am observing is that the memory taken by the hits is not released when an event is finished and so the used memory is just growing with each event. Has anyone observed this

The geant 4 version I am using is:


In the end I decided that I fill root trees directly (no memory leak) But if there is a problem with the mechanism it should be fixed.


The code can be browse at:

and checked out with the following command.


Then login (ilcdet is the password)

cvs login


cvs co DRCalGH cd DRCalGH source

To run i: DRCalGH electrons.mac

 Add Message Add Message
to: "Memory of Hit collection not released. memory leak"

 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 ]