GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Error during PndTpcElectronicsTask
Re: Error during PndTpcElectronicsTask [message #11381 is a reply to message #11380] Tue, 21 December 2010 19:01 Go to previous message
Felix Boehmer is currently offline  Felix Boehmer
Messages: 149
Registered: May 2007
Location: Munich
first-grade participant

From: *natpool.mwn.de
Hi Stefano,

it's the standard runDigi macro from macro/tpc. I haven't tried with DPM yet. Can you please try and monitor the memory load with your macros?

Quote:

If I have understood well, if we use XXXArray->Delete() (as we are doing in all the tasks now) the size of the TCA should restart from zero each event, and should not take the one from the largest event. I ask for confirmation (this is the reason why all the "Clear" were taken out).


This is wrong. The difference between clear() and delete() is that with clear() the destructors of the objects in the TClonesArray are *not* called (as opposed to delete()). However, the *allocated* size of the TClonesArray is still the maximum that was ever needed, no matter how much is actually needed by the current "residents".

Cheers

Felix
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Out of memory problem in EmcPoint - FairLink ?
Next Topic: problem with DpmEvtGen library
Goto Forum:
  


Current Time: Tue Dec 07 16:56:13 CET 2021

Total time taken to generate the page: 0.02445 seconds