GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Memory consumption grow using genfit
Re: Memory consumption grow using genfit [message #7506 is a reply to message #7504] Fri, 07 November 2008 16:35 Go to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *kph.uni-mainz.de
Hi Ola,
Actually i have the same problem as you have now.
I solved( at the moment works) by doing the following

In the directory of genfit
if you go to the class Track.cxx
at the line 26
add the line
delete trackReps

Track::~Track() {
22 if(trackReps!=NULL){
23 for(int i=0;i<getNumReps();i++) {
24 delete trackReps->At(i);
25 }
26 delete trackReps; }
27 for(unsigned int i=0;i<hits.size();i++) {
28 delete hits[i];
29 }
30 }

if you have a task to extract the information
from the track object,
PNDDchKalmanQATask for example

at line 150 add also fTrackarray->Delete();

i hope it works

best regrads
Alicia S.

 
Read Message
Read Message
Previous Topic: Update in Dart.sh
Next Topic: Problems compiling external packages on ubuntu 8.10
Goto Forum:
  


Current Time: Mon Oct 07 01:10:54 CEST 2024

Total time taken to generate the page: 0.00970 seconds