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 #10974 is a reply to message #10897] Mon, 13 September 2010 15:25 Go to previous messageGo to previous message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
Hi all,

Since Stefano reported memory leaks caused by regular expressions - TPRegexp in PndEmcStructure, I have replaced it by sscanf (rev. 9846).

However I didn't manage to check how it affected memory leaks by myselfe.

Running

valgrind --tool=cachegrind root -b run_sim_tpccombi_dpm.C

I do not have such an informative output as reported by Stefano but just
 DIGI EXECUTION *********************
RealTime=247.386149 seconds, CpuTime=233.050000 seconds
(int)56
root [1] .q
==5031==
==5031== I   refs:      2,517,267
==5031== I1  misses:        2,578
==5031== L2i misses:        1,392
==5031== I1  miss rate:      0.10%
==5031== L2i miss rate:      0.05%
==5031==
==5031== D   refs:      1,291,254  (927,120 rd   + 364,134 wr)
==5031== D1  misses:       40,211  ( 37,743 rd   +   2,468 wr)
==5031== L2d misses:        6,443  (  5,450 rd   +     993 wr)
==5031== D1  miss rate:       3.1% (    4.0%     +     0.6%  )
==5031== L2d miss rate:       0.4% (    0.5%     +     0.2%  )
==5031==
==5031== L2 refs:          42,789  ( 40,321 rd   +   2,468 wr)
==5031== L2 misses:         7,835  (  6,842 rd   +     993 wr)
==5031== L2 miss rate:        0.2% (    0.1%     +     0.2%  )



I suspected that it was due to external packages compiled without debug info, but I recomplied it with debug info and it didn't help. Maybe I don't run valgrind with proper flag?

Dima
 
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: Wed Jan 26 22:17:06 CET 2022

Total time taken to generate the page: 0.00916 seconds