I’ve check the compression level for that root tree and is ==1.
I was out a couple of days.
Hereafter the first 4 snapshots of the failing case.
bests
desc: (none)
cmd: ./test.exe
time_unit: i
#-----------
snapshot=0
#-----------
time=0
mem_heap_B=0
mem_heap_extra_B=0
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=1
#-----------
time=4049289985
mem_heap_B=372725860
mem_heap_extra_B=818772
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=2
#-----------
time=10874905319
mem_heap_B=619017128
mem_heap_extra_B=833368
mem_stacks_B=0
heap_tree=detailed
n3: 619017128 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
n1: 498965494 0x503DD37: TBuffer::TBuffer(TBuffer::EMode, int) (TBuffer.cxx:85)
n1: 498965494 0x579BF67: TBufferIO::TBufferIO(TBuffer::EMode, int) (TBufferIO.cxx:51)
n4: 498965494 0x5796537: TBufferFile::TBufferFile(TBuffer::EMode, int) (TBufferFile.cxx:89)
n1: 402431759 0x71A6208: TBasket::ReadBasketBuffers(long long, int, TFile*) (TBasket.cxx:419)
n1: 402431759 0x71B0FFE: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1245)
n1: 402431759 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 402431759 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 402431759 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 399711348 0x40115A: main (test.C:28)
n0: 2720411 in 1 place, below massif’s threshold (1.00%)
n1: 62900272 0x71AF677: TBranch::GetTransientBuffer(int) (TBranch.cxx:520)
n1: 62900272 0x71A7A34: TBasket::TBasket(char const*, char const*, TBranch*) (TBasket.cxx:78)
n1: 62900272 0x7216003: TTree::CreateBasket(TBranch*) (TTree.cxx:3578)
n1: 62900272 0x71B0A4A: TBranch::GetFreshBasket(TBuffer*) (TBranch.cxx:1806)
n1: 62900272 0x71B10F9: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1227)
n1: 62900272 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 62900272 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 62900272 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 31801224 0x401127: main (test.C:26)
n0: 31099048 0x40115A: main (test.C:28)
n1: 33633463 0x71A64F7: TBasket::ReadBasketBuffers(long long, int, TFile*) (TBasket.cxx:419)
n1: 33633463 0x71B0FFE: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1245)
n1: 33633463 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 33633463 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 33633463 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 30913052 0x40115A: main (test.C:28)
n0: 2720411 in 1 place, below massif’s threshold (1.00%)
n0: 0 in 4 places, all below massif’s threshold (1.00%)
n1: 93602106 0x57D9F91: TFileCacheRead::SetEnablePrefetchingImpl(bool) (TFileCacheRead.cxx:814)
n1: 93602106 0x57DA3E8: TFileCacheRead::TFileCacheRead(TFile*, int, TObject*) (TFileCacheRead.cxx:145)
n1: 93602106 0x720B622: TTreeCache::TTreeCache(TTree*, int) (TTreeCache.cxx:314)
n1: 93602106 0x7222A48: TTree::SetCacheSizeAux(bool, long long) (TTree.cxx:8467)
n1: 93602106 0x7224009: TTree::LoadTree(long long) (TTree.cxx:6257)
n1: 93602106 0x71DECBB: TChain::LoadTree(long long) (TChain.cxx:1321)
n2: 93602106 0x71DBE32: TChain::GetEntry(long long, int) (TChain.cxx:966)
n0: 47225203 0x401127: main (test.C:26)
n0: 46376903 0x40115A: main (test.C:28)
n0: 26449528 in 2828 places, all below massif’s threshold (1.00%)
#-----------
snapshot=3
#-----------
time=19302391483
mem_heap_B=926226400
mem_heap_extra_B=876496
mem_stacks_B=0
heap_tree=detailed
n3: 926226400 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
n1: 805881471 0x503DD37: TBuffer::TBuffer(TBuffer::EMode, int) (TBuffer.cxx:85)
n1: 805881471 0x579BF67: TBufferIO::TBufferIO(TBuffer::EMode, int) (TBufferIO.cxx:51)
n4: 805881471 0x5796537: TBufferFile::TBufferFile(TBuffer::EMode, int) (TBufferFile.cxx:89)
n1: 709347736 0x71A6208: TBasket::ReadBasketBuffers(long long, int, TFile*) (TBasket.cxx:419)
n1: 709347736 0x71B0FFE: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1245)
n1: 709347736 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 709347736 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 709347736 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 706627325 0x40115A: main (test.C:28)
n0: 2720411 in 1 place, below massif’s threshold (1.00%)
n1: 62900272 0x71AF677: TBranch::GetTransientBuffer(int) (TBranch.cxx:520)
n1: 62900272 0x71A7A34: TBasket::TBasket(char const*, char const*, TBranch*) (TBasket.cxx:78)
n1: 62900272 0x7216003: TTree::CreateBasket(TBranch*) (TTree.cxx:3578)
n1: 62900272 0x71B0A4A: TBranch::GetFreshBasket(TBuffer*) (TBranch.cxx:1806)
n1: 62900272 0x71B10F9: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1227)
n1: 62900272 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 62900272 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 62900272 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 31801224 0x401127: main (test.C:26)
n0: 31099048 0x40115A: main (test.C:28)
n1: 33633463 0x71A64F7: TBasket::ReadBasketBuffers(long long, int, TFile*) (TBasket.cxx:419)
n1: 33633463 0x71B0FFE: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1245)
n1: 33633463 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 33633463 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 33633463 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 30913052 0x40115A: main (test.C:28)
n0: 2720411 in 1 place, below massif’s threshold (1.00%)
n0: 0 in 4 places, all below massif’s threshold (1.00%)
n1: 93602106 0x57D9F91: TFileCacheRead::SetEnablePrefetchingImpl(bool) (TFileCacheRead.cxx:814)
n1: 93602106 0x57DA3E8: TFileCacheRead::TFileCacheRead(TFile*, int, TObject*) (TFileCacheRead.cxx:145)
n1: 93602106 0x720B622: TTreeCache::TTreeCache(TTree*, int) (TTreeCache.cxx:314)
n1: 93602106 0x7222A48: TTree::SetCacheSizeAux(bool, long long) (TTree.cxx:8467)
n1: 93602106 0x7224009: TTree::LoadTree(long long) (TTree.cxx:6257)
n1: 93602106 0x71DECBB: TChain::LoadTree(long long) (TChain.cxx:1321)
n2: 93602106 0x71DBE32: TChain::GetEntry(long long, int) (TChain.cxx:966)
n0: 47225203 0x401127: main (test.C:26)
n0: 46376903 0x40115A: main (test.C:28)
n0: 26742823 in 2828 places, all below massif’s threshold (1.00%)
#-----------
snapshot=4
#-----------
time=25169204130
mem_heap_B=1136265048
mem_heap_extra_B=914168
mem_stacks_B=0
heap_tree=detailed
n3: 1136265048 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
n1: 1015668439 0x503DD37: TBuffer::TBuffer(TBuffer::EMode, int) (TBuffer.cxx:85)
n1: 1015668439 0x579BF67: TBufferIO::TBufferIO(TBuffer::EMode, int) (TBufferIO.cxx:51)
n4: 1015668439 0x5796537: TBufferFile::TBufferFile(TBuffer::EMode, int) (TBufferFile.cxx:89)
n1: 920720888 0x71A6208: TBasket::ReadBasketBuffers(long long, int, TFile*) (TBasket.cxx:419)
n1: 920720888 0x71B0FFE: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1245)
n1: 920720888 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 920720888 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 920720888 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 918000477 0x40115A: main (test.C:28)
n0: 2720411 in 1 place, below massif’s threshold (1.00%)
n1: 62900272 0x71AF677: TBranch::GetTransientBuffer(int) (TBranch.cxx:520)
n1: 62900272 0x71A7A34: TBasket::TBasket(char const*, char const*, TBranch*) (TBasket.cxx:78)
n1: 62900272 0x7216003: TTree::CreateBasket(TBranch*) (TTree.cxx:3578)
n1: 62900272 0x71B0A4A: TBranch::GetFreshBasket(TBuffer*) (TBranch.cxx:1806)
n1: 62900272 0x71B10F9: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1227)
n1: 62900272 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 62900272 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 62900272 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 31801224 0x401127: main (test.C:26)
n0: 31099048 0x40115A: main (test.C:28)
n1: 32047279 0x71A64F7: TBasket::ReadBasketBuffers(long long, int, TFile*) (TBasket.cxx:419)
n1: 32047279 0x71B0FFE: TBranch::GetBasketImpl(int, TBuffer*) (TBranch.cxx:1245)
n1: 32047279 0x71B1596: TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) (TBranch.cxx:1362)
n1: 32047279 0x71B1C72: TBranch::GetEntry(long long, int) (TBranch.cxx:1589)
n2: 32047279 0x7222B9A: TTree::GetEntry(long long, int) (TTree.cxx:5439)
n0: 29326868 0x40115A: main (test.C:28)
n0: 2720411 in 1 place, below massif’s threshold (1.00%)
n0: 0 in 4 places, all below massif’s threshold (1.00%)
n1: 93602106 0x57D9F91: TFileCacheRead::SetEnablePrefetchingImpl(bool) (TFileCacheRead.cxx:814)
n1: 93602106 0x57DA3E8: TFileCacheRead::TFileCacheRead(TFile*, int, TObject*) (TFileCacheRead.cxx:145)
n1: 93602106 0x720B622: TTreeCache::TTreeCache(TTree*, int) (TTreeCache.cxx:314)
n1: 93602106 0x7222A48: TTree::SetCacheSizeAux(bool, long long) (TTree.cxx:8467)
n1: 93602106 0x7224009: TTree::LoadTree(long long) (TTree.cxx:6257)
n1: 93602106 0x71DECBB: TChain::LoadTree(long long) (TChain.cxx:1321)
n2: 93602106 0x71DBE32: TChain::GetEntry(long long, int) (TChain.cxx:966)
n0: 47225203 0x401127: main (test.C:26)
n0: 46376903 0x40115A: main (test.C:28)
n0: 26994503 in 2828 places, all below massif’s threshold (1.00%)
#-----------