How to change maximum file size of a TFile?

Dear rooters,

it seems that maximum size of a TFile is about 1.8 GB. Is it possible to increase this size?

thank you,
Ondrej Chvala

There is no limitation for the file size,. It can be as large as your system permits.
By default, ROOT Trees have a maximum size of 1.9 Gigabytes. You can change this default by calling TTree::SetMaxTreeSize

Rene