Re: limiting root in usage of system memory or swapfile during execution

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 15 Sep 2009 20:25:05 +0200


Hi Stephan,

I am not sure to follow your question. Why don't you save your objects in a Tree? in this way
the maximum memory used will be the size of the output buffers that you can easily control.

Rene Brun

Stephan Zimmer wrote:
> Hi ROOT users and developers,
> I would like to know if there is an option on restricting root how much
> memory to use or even better if there is a way to tell ROOT to use a
> swapfile. I am running analysis code in a compiled macro. During the
> code execution I build up vector-objects to save those objects later in
> a root file. I could reorganize my code to run only through parts of the
> code and save afterwards (and later append to the existing ones) but it
> would be a lot easier if there would be a way to use a swapfile. I know
> that this would result in a slower run of the analysis but I think this
> is okay as a payoff.
> Thank you very much in advance
> best regards,
> Stephan Zimmer
>
>
Received on Tue Sep 15 2009 - 20:25:12 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 16 2009 - 11:50:03 CEST