Re: Memory consumption grow using genfit [message #7506 is a reply to message #7504] |
Fri, 07 November 2008 16:35 |
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.
|
|
|