GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Out of memory problem in EmcPoint - FairLink ?
Re: Out of memory problem in EmcPoint - FairLink ! [message #10984 is a reply to message #10981] Tue, 14 September 2010 15:50 Go to previous messageGo to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Stefano

I also fear that there is a problem with the FairLinks or the way of usage.
Whenruning one of the Cbm Macros on the GSI batch farm i end up with a segmentation violation always after around 350 Events. After the third crash i monitored the memory consumption and this was always increasing. When the memory consumption reached the limit of 4GB on the batch farm machines and terminates.

Checking the process with valgrind for some events I found exactly the same problem as you did. The number of lost bytes was increasing with increasing number of events.


==20123== 7,844,864 bytes in 122,576 blocks are still reachable in loss record 511 of 514
==20123==    at 0x4A1C929: operator new(unsigned long) (vg_replace_malloc.c:230)
==20123==    by 0xE9F04F3: std::_Rb_tree<FairLink, FairLink, std::_Identity<FairLink>, std::less<FairLink>, std::allocator<FairLink> >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, FairLink const&) (new_allocator.h:88)
==20123==    by 0xE9F0638: std::_Rb_tree<FairLink, FairLink, std::_Identity<FairLink>, std::less<FairLink>, std::allocator<FairLink> >::insert_unique(FairLink const&) (stl_tree.h:931)
==20123==    by 0xE9F0D5A: FairMultiLinkedData::InsertLink(FairLink) (stl_set.h:321)
==20123==    by 0xE9F2BA6: FairMultiLinkedData::AddLink(FairLink, bool, float) (FairMultiLinkedData.cxx:123)
==20123==    by 0xEDB17EE: CbmStsDigi::CbmStsDigi(int, int, int, int, int, int, int) (CbmStsDigi.h:63)
==20123==    by 0xF8E92CD: CbmStsIdealDigitize::Exec(char const*) (CbmStsIdealDigitize.cxx:186)
==20123==    by 0x4D83402: TTask::ExecuteTasks(char const*) (TTask.cxx:312)
==20123==    by 0x4D83691: TTask::ExecuteTask(char const*) (TTask.cxx:275)
==20123==    by 0xEA06EAA: FairRunAna::Run(int, int) (FairRunAna.cxx:279)
==20123==    by 0xEA1CC1C: G__FairDict_792_0_5(G__value*, char const*, G__param*, int) (FairDict.cxx:11420)
==20123==    by 0x559C3D0: Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) (Api.cxx:385)
==20123== 
==20123== 


Unfortunately i was not able to find out what exactely is the problem. Maybe Tobias has an idea.

Ciao

Florian
 
Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message icon7.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Compilation problem of trunk
Next Topic: Error during PndTpcElectronicsTask
Goto Forum:
  


Current Time: Sun Dec 08 16:28:09 CET 2024

Total time taken to generate the page: 0.00870 seconds