RE: [ROOT] Limit on the size for the compression?

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Mar 01 2002 - 23:11:36 MET


Hi Bill,

Currently the maximum size for a buffer to be compressed is
16Mb which is smaller than the at least 19Mb you need.

One simple solution would be to disable compression for the
file (or the tree).

Another solution would to group your 5 millions struct in 
a different way.  For example, in an extreme solution, you
could consider saving one struct per tree entry (along side
with an extra value, the actual event number).  Maybe there are 
other logical grouping.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of William Love
Sent: Friday, March 01, 2002 3:37 PM
To: roottalk
Subject: [ROOT] Limit on the size for the compression?


  Rooters

   I am running 3.02/07 on Linux 6.1 
  I am trying to write a branch of a tree with a structure
 of 4 integers and 3 floats.  The problem is I have 
 5 million of them (Pixels) in one event.  On writing 
 I get the error message  R__zip: source buffer too big
 and on trying to read the branch from the root file I
 get R__unzip too small source and a failure.
  Is there a way around this problem?
                                        Bill Love



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET