GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » memory leaks
Re: memory leaks [message #9364 is a reply to message #9361] Wed, 09 September 2009 17:09 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ext.kfa-juelich.de
I am not so sure, i.e. FairHit contains only numbers and does not allocate memory to create objects.
In theory, if I have understood well, for this reason all the FairHit objects could be "cleared".

Another thing, for objects which have strings or objects, one should implement the correct "Clear" function.
I remember that using Delete instead of Clear the reconstruction becomes very slow. Hve you seen particular effects changing Clear to Delete?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac OS X 10.6 Snow Leopard
Next Topic: [Release] Analysis: Rho & PidCandidate
Goto Forum:
  


Current Time: Fri Dec 03 10:46:26 CET 2021

Total time taken to generate the page: 0.02509 seconds