ROOT memory usage

From: Peter Steinberg (steinber@nevis1.nevis.columbia.edu)
Date: Sat May 30 1998 - 04:08:12 MEST


I have a ROOT tree that is about 6MB compressed, and maybe 15MB
uncompressed (although I don't remember exactly how big at the moment).
Now whenever I try to simply define the branches in order to read in
events (i.e. I execute the code produced by TTree::MakeCode()) ROOT seems
to want to unpack the whole thing into memory.  Usually this is fine, but
when I try to use it on my 32MB home PC (linux or windows) it just swaps
incessantly and I never get the prompt again.

Thus, my question is: Is there a parameter I can tune in the reading or
writing to make a more memory-friendly tree? 

Thanks,
Peter

---------------------------------------------------------------------------
Peter Steinberg, Columbia University	E-mail:     peter.steinberg@cern.ch
Nevis Laboratories			URL: http://wwwcn.cern.ch/~steinber
P.O. Box 137	  		        Home Phone:           (212)678-5971
Irvington, NY 10533
---------------------------------------------------------------------------



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