Message: Re: "Killed" after large number of initial particles Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: "Killed" after large number of initial particles 

Keywords: visualization
Forum: Run Management
Re: None "Killed" after large number of initial particles
Re: None Re: "Killed" after large number of initial particles (Makoto Asai)
Re: Idea Re: "Killed" after large number of initial particles (Kazuyoshi Furutaka)
Re: Note Re: "Killed" after large number of initial particles (B. Liu)
Re: None Re: "Killed" after large number of initial particles
Date: 22 Apr, 2006
From: John Allison <John Allison>

Thanks to some detective work by one of our users, Koichi.Murakami@kek.jp, I have found a memory leak in G4VisManager that is triggered by trajectory drawing, etc. It will be fixed in the next reference tag (for developers) and in the next release scheduled for June 2006. Meanwhile, if you have access to the code, you may make the following patch, which is a workaround pending a more elegant solution.

Replace

      fVisManagerModelingParameters
      = *(fpSceneHandler -> CreateModelingParameters ());

by

      G4ModelingParameters* pMP = fpSceneHandler->CreateModelingParameters();
      fVisManagerModelingParameters = *pMP;
      delete pMP;

This happens in two functions - G4VisManager::EndOfEvent and G4VisManager::CheckModel. It is the latter that is the most damaging.

Please let us know if any problems remain.

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

 Add Message Add Message
to: "Re: "Killed" after large number of initial particles"

 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 ]