Hi, Chi, Chris, all!
I am wondering if you saw something similar to this before: after
crunching a large number of events, my program starts giving me
errors like:
----------------------------------------------------------------------------
Error in <TKey::Create>: Cannot allocate 790066 bytes for ID = ep Title =
ep tree
Error in <TKey::Create>: Cannot allocate 790018 bytes for ID = ep Title =
ep tree
Error in <TKey::Create>: Cannot allocate 790113 bytes for ID = ep Title =
ep tree
Error in <TKey::Create>: Cannot allocate 790064 bytes for ID = ep Title =
ep tree
Error in <TKey::Create>: Cannot allocate 790091 bytes for ID = ep Title =
ep tree
End of run on event 148374 at time: 06-Dec-2003 18:56:05
Total run time: 1021 (secs.)
Error in <TKey::Create>: Cannot allocate 351877 bytes for ID = 3691.root
Title = TEST
*** Break *** segmentation violation
Generating stack trace...
0x4052f93f in TUnixSystem::StackTrace(void) at
/net/data/1/Analysis/commis/root/root_v3.05.04/unix/src/TUnixSystem.cxx:1381
from /usr/local/root/lib/libCore.so
0x4052e0dc in TUnixSystem::DispatchSignals(ESignals) at
/net/data/1/Analysis/commis/root/root_v3.05.04/unix/src/TUnixSystem.cxx:583
from /usr/local/root/lib/libCore.so
0x4052d199 in <unknown> from /usr/local/root/lib/libCore.so
0x405317a3 in <unknown> from /usr/local/root/lib/libCore.so
0x416f0307 in <unknown> from /lib/libpthread.so.0
0x41bcdef8 in <unknown> from /lib/libc.so.6
0x4043d2bf in tobuf(char *&, int) at
/net/data/1/Analysis/commis/root/root_v3.05.04/include/TROOT.h:0 from
/usr/local/root/lib/libCore.so
0x40447c5f in TDirectory::WriteKeys(void) at
/net/data/1/Analysis/commis/root/root_v3.05.04/base/src/TDirectory.cxx:1448
from /usr/local/root/lib/libCore.so
0x4044728d in TDirectory::SaveSelf(bool) at
/net/data/1/Analysis/commis/root/root_v3.05.04/base/src/TDirectory.cxx:1267
from /usr/local/root/lib/libCore.so
0x404478eb in TDirectory::Write(char const *, int, int) at
/net/data/1/Analysis/commis/root/root_v3.05.04/base/src/TDirectory.cxx:1397
from /usr/local/root/lib/libCore.so
0x40450406 in TFile::Write(char const *, int, int) at
/net/data/1/Analysis/commis/root/root_v3.05.04/base/src/TFile.cxx:1424
from /usr/local/root/lib/libCore.so
0x0804d9ad in main + 0x13bd from ep_skim
0x41bbd1c4 in __libc_start_main + 0x90 from /lib/libc.so.6
0x0804c511 in ROOT::TGenericClassInfo::GetClass(void) + 0x39 from ep_skim
Abort
----------------------------------------------------------------------------
When I look at the root file I create, my reader code gives me stuff like:
----------------------------------------------------------------------------
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
870663531
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
870983029
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
871302573
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
871622083
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
871941539
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
872261025
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
872581153
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
872901190
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
873221115
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
873541080
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
873861048
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
874181066
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
874501141
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
874821257
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
875141437
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
875461667
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
875781918
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
876102092
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
876422355
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
876742650
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
877062959
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
877383293
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
877703472
Info in <TFile::Recover>: 3691.root, recovered key TTree:ep at address
878023699
--------------------------------------------------------------------------
Any idea what might have happened?
Thanks!
Adrian
-------------------------------
Adrian Sindile
Research Assistant
Nuclear Physics Group
University of New Hampshire
phone: (603)862-1691
FAX: (603)862-2998
email: asindile@alberti.unh.edu
http://einstein.unh.edu/~adrian/
This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:30 EST