Re: [ROOT] TTree::SetMaxTreeSize

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 19 2004 - 10:05:57 MEST


Thomas,

Read carefully my mails.
In the references that I sent to you the signature of TTree::SetMaxtreeSize is
   void SetMaxTreeSize(Long64_t maxsize) 

It seems also that you did not read our Release Notes 
  http://root.cern.ch/
  http://root.cern.ch/root/Version40008.news.html

New Features in the Input/Output System

Support for large files above 2 GBytes.

The implementation of this new feature has required changes in many places. The
files produced by this new version can still
be read by old ROOT versions if their size if smaller than 2 GBytes. And
obviously, the new version can digest old ROOT files.
Note that when creating a Tree, the default maximum size for a Tree is set to
1.9 GBytes. You can change this default value
by calling: 

        TTree::SetMaxTreeSize(Long64_t maxsize)

Rene Brun

Thomas Bretz wrote:
> 
> Hi Rene,
> 
> sorry but your answers are always too fast:
> The argument of SetMaxTreeSize is an signed int. So the highest number I
> can set is 2147483647 as I know (see below). Which is roughly 2.1GB. How
> do I use bigger file-sizes?
> 
> Or is some of my assumptions wrong?
> 
> Thomas.
> 
> Rene Brun wrote:
> > see:
> > http://root.cern.ch/root/htmldoc/TTree.html#TTree:SetMaxTreeSize
> > http://root.cern.ch/root/htmldoc/TTree.html#TTree:ChangeFile
> >
> > Rene Brun
> >
> > On Wed, 18
> > Aug 2004, Thomas Bretz wrote:
> >
> >
> >>Hi,
> >>
> >>as I understand the maximum tree size I can use is:
> >>TTree::SetMaxTreeSize(2147483647);
> >>
> >>Is this correct? Does root support files larger than this? How?
> >>
> >>Thanks,
> >>Thomas.
> >>
> >
> >



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET