TFile effectivity

From: Jakub Čermák <jakub_at_jcermak.cz>
Date: Sat, 7 Nov 2009 02:04:16 +0100


Hello *,
I'm writing an app which makes large number of histograms and some other graphs and then writes them to TFile. I'd like to avoid holding all the objects in memory, because they can be safely written to the file and discarded. I destruct all of them as soon as I don't need them, but I suppose TFile holds them somewhere in its cache. So the question is - is it possible to write a bunch of root objects into a file and discard them from memory? So the new histograms will be appended at disk to already written ones without need to hold them all in memory. I found a Flush function, but I don't know whether it's what I need.

Thanks

 Best regards

Jakub Čermák
http://www.jcermak.cz Received on Sat Nov 07 2009 - 02:04:29 CET

This archive was generated by hypermail 2.2.0 : Sat Nov 07 2009 - 11:50:02 CET