Re: TNtuple question

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Feb 25 1997 - 09:34:36 MET


Jarek Grebieszkow wrote:
> 
> Hello,
> 
> Is there any way to create in ROOT file resident ntuple (does the root
> create only memory resident ntuple ?). I try to fill now pretty huge
> ntuple and I get the following error message:
>    Fatal in <operator new>: storage exhausted
>    aborting
> after allocating about 70MB mem (info from top)
> is there any way to bypass that problem ?
> 
>                                         Jarek Grebieszkow

The TTree or TNtuple is created in  memory only in the case where
no ROOT file is currently open.
Do:
    TFile myfile("myfile.root","NEW");
    TTree t(...)

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET