Re: [ROOT] Increasing ".root" file size

From: Malcolm Davidson (davidson@cesbio.cnes.fr)
Date: Tue May 15 2001 - 17:52:42 MEST


Hello again,

Thanks for the quick answer Rene. I can understand some of the reasons for 
this feature, however, I'm suprised that some kind of cleanup mechanism 
that reclaims unused disk space doesn't exist in ROOT. I'm thinking of one 
of these maintenance programs that only get's used every-so-often.

I think it would be quite useful esp. since every so often a mistake such 
as writing much larger trees than expected will irreversibly increase file 
size and force me to recopy what I need into a new ROOT file before 
deleting the old.

More comments anyone ?

Malcolm



At 15:34 15/05/01 +0000, Rene Brun wrote:
>Hi Malcom,
>
>The holes in Root files are reused, and we never decrease the file size.
>
>Rene Brun
>
>Malcolm Davidson wrote:
> >
> > Dear Rooters,
> >
> > I'm a little confused concerning the way the objects within root files are
> > managed. I've just deleted a whole series of trees from a given file to
> > free some disk space, only to find out that the total file size before and
> > after remains the same.
> >
> > If this is the normal behaviour (e.g. because of these mysterious "free"
> > blocks I read about in the documentation) how do I reclaim this "lost"
> > space then ?
> >
> > Many thanks in advance for any help.
> >
> > Malcolm
> >
> > <>------------------------------------------------<>
> > Malcolm W. J. Davidson
> > CESBIO - UMR 5639 CNES-CNRS-UPS
> > 18 Avenue Edouard Belin
> > BP 2801
> > F-31401 Toulouse Cedex 4  France
> > e-mail : davidson@cesbio.cnes.fr
> > phone (33)(0)5.61.55.85.84
> > fax   (33)(0)5.61.55.85.00
> > <>------------------------------------------------<>

<>------------------------------------------------<>
Malcolm W. J. Davidson
CESBIO - UMR 5639 CNES-CNRS-UPS
18 Avenue Edouard Belin
BP 2801
F-31401 Toulouse Cedex 4  France
e-mail : davidson@cesbio.cnes.fr
phone (33)(0)5.61.55.85.84
fax   (33)(0)5.61.55.85.00
<>------------------------------------------------<>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:45 MET