Re: [ROOT] memory leakage in TFile

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Dec 11 2002 - 14:36:26 MET


Hi Konstantin,

The first time when you connect a file, some code in shared libs
will be loaded. Also the dictionary from the classes in the file
is read to memory (but this should be small).
So 1.2 Mb looks normal. However, if you see this increase every time
you connect a file, there is a problem.
Unfortunaletly, you do not indicate which version of ROOT
that you are using. Please give more details about this problem.

Rene Brun

On Wed, 11 Dec 2002, Konstantin Yu. Kotov wrote:

> Hi !
> 
> When I want to read a tree from root file and open it:
> 
> TFile *f = new TFile("tree2.root"); (interactive ROOT session)
> 
> I see that used memory size increases, appr. +1.2 MB, although real file 
> size is appr. 300 KB(without compression).
> 
> 
> Is it normally ?
> 
> Thanks,
> Konstantin.
> 
> -- 
> 
> 
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:23 MET