Message: Memory Problem : delete Hits Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Memory Problem : delete Hits 

Keywords: hitscollection memory
Forum: Event and Track Management
Date: 07 Feb, 2005
From: Guillaume Potdevin <>


I have a problem of memory consumption in my simulation. I use a Sensitive Detector (mainly following the A01 example) to store hits and then retrieve the informations I need (I use JAIDA). I need only statistic informations, and so I set the storeTrajectories flag to 0. Unfortunately the memory consumption is really high and I cannot compute the simulations completely for the 1GB of free memory that I have gets full. I don't know exactly what goes wrong, the memory consumption rises linearly with the number of shot (1*"/run/beamOn 100" = 100*"/run/beamOn 1"). I just have the feeling that hits stored are never killed (when I remove the Hit collection, memory consumption is stable/low). What makes a hit collection being killed after an event? Or what could make it being kept, for if I understand properly the doc, HCofThisEvent are supposed to be killed at the end of an event? Thank you in advance for your help!

Guillaume Potdevin

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

1 None: Re: Memory Problem : delete Hits   (Makoto Asai - 08 Feb, 2005)
(_ Question: Re: Memory Problem : delete Hits   (Guillaume Potdevin - 09 Feb, 2005)
(_ None: Re: Memory Problem : delete Hits   (Yoann SALLAZ-DAMAZ - 14 Oct, 2005)
 Add Message Add Message
to: "Memory Problem : delete Hits"

 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 ]