# Size limit of a ROOT file

**URL:** <https://root-forum.cern.ch/t/size-limit-of-a-root-file/59004>\
**Category:** Newbie\
**Created:** [April 16, 2024, 6:43am UTC](https://root-forum.cern.ch/t/size-limit-of-a-root-file/59004 "2024-04-16T06:43:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [April 16, 2024, 6:43am UTC](https://root-forum.cern.ch/t/size-limit-of-a-root-file/59004/1 "2024-04-16T06:43:14Z")

</div>

Dear experts,

I want to create (not merge by `hadd`) a root file which may be larger than 3TB, I wonder if there is a size limit of ROOT file? In my `TTree` every entry will less than 1GB.

---

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [April 16, 2024, 6:54am UTC](https://root-forum.cern.ch/t/size-limit-of-a-root-file/59004/2 "2024-04-16T06:54:27Z")

</div>

[https://root-forum.cern.ch/search?q=root%20file%20size%20limit](https://root-forum.cern.ch/search?q=root%20file%20size%20limit)

> [@Root file size limitation](https://root-forum.cern.ch/t/root-file-size-limitation/45138):
>
> Dear ROOT users, Is there a file size limitation for the root file? I am using ROOT 6.18/04 with gjm to merge many root output files from clusters. The total file size is around 31 G while the gjm always switched the merging file from the first one to the new one when the first merged file hit 17 G. Is there any other way to re-merge the two 17 G files together? Any reply will be highly appreciated! \_ROOT Version: 6.18/04 \_Platform:\_Centos 7 Best, Xinjie

[https://root.cern/doc/master/classTTree.html#a3ab4006402ddbc3950e1ddab5e3aadd6](https://root.cern/doc/master/classTTree.html#a3ab4006402ddbc3950e1ddab5e3aadd6)

---

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [April 16, 2024, 7:09am UTC](https://root-forum.cern.ch/t/size-limit-of-a-root-file/59004/3 "2024-04-16T07:09:10Z")

</div>

Thank you!
