Re: Problem using CopyTree

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Fri, 27 May 2005 10:19:01 +0200 (MEST)


Hi Seng,

It seems that you are creating memory-resident ntuples. To create disk-resident ntuples, do

   TFile *f = new TFile("myfile.root","recreate");    TTree *T = new TNtupleD(...

and not

   TTree *T = new TNtupleD(...
   TFile *f = new TFile("myfile.root","recreate");

Rene Brun

On Thu, 26 May
2005, Woon-Seng Choong wrote:

> Hi,
> I am running root version 4.04.00 on a Window 2000 platform. I have an
> object of class NtupleD which has 5 elements in it. The object has slightly
> over 6 milllion events. I tried to use CopyTree with selection to prefilter
> the ntuple for further processing. But I got the following error messages
> from root:
>
> Fatal in <TStorage::ReAllocChar>: storage exhausted
> aborting
> Warning in <TWinNTSystem::StackTrace>: this method must be overridden!
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
>
>
> Can someone help me? Thanks.
>
> Seng
>
>
Received on Fri May 27 2005 - 10:19:07 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET