Hi,
I have the following problem. I use Microsoft Visual C++ 6 under XP and I
have a compiled ROOT code in which I fill entries into an TNtuple several times (let’s say 100). Each filling loop fills about 8 million entries into the ntuple (1 entry consists of 5 floats).
The ntuple gets bigger and bigger in the memory (several hundred megabytes) but when I save it in the end into a Root file, the size of the file is only ~10 MBytes. I checked that it is the filled TNtuple object that eats up that much memory.
How can I improve the code so it doesn’t eat up all my memory?
Thanx,
Balint