Re: TNtuple question

Rene Brun (Rene.Brun@cern.ch)
Tue, 25 Feb 1997 09:34:36 +0100


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