mmzip: source buffer too big

From: Reinhard Schwienhorst (schwier@mnhepw.hep.umn.edu)
Date: Fri Sep 10 1999 - 19:54:52 MEST


Hi,
I have used the event example and modified it to fill a tree with vertices,
tracks, and track segments.
I have a class event which contains TClonesArrays of tracks and track
segments.
I read in track and track segment information from a text file.
I read one event at a time.
After I have processed the file I call tree->Fill().
Most of the time this works fine. The tree is created on file and I can read
it back in.
However, if my text file is very large (>100000 tracks and >1000000 segments
per event), I get the message "mmzip: source buffer too big"
I cannot read the file if this message appeared when the tree was created.

I really want to compress my output file because it will be >100MB
otherwise.

My question is this:
How can I write the tree to a file in smaller chunks?
I suspect that I will have to fill the tree more often. It appears to me
that calling tree->Fill() many times will split my single event into many
separate events.
Is there a better way to do this?

Reinhard Schwienhorst



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