# Root file size limitation

**URL:** <https://root-forum.cern.ch/t/root-file-size-limitation/45138>\
**Category:** ROOT\
**Created:** [May 28, 2021, 3:52pm UTC](https://root-forum.cern.ch/t/root-file-size-limitation/45138 "2021-05-28T15:52:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xinjie\_Cao](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/xinjie_cao/32/19828_2.png) [@Xinjie\_Cao](https://root-forum.cern.ch/u/Xinjie_Cao)\
**Post date:** [May 28, 2021, 3:52pm UTC](https://root-forum.cern.ch/t/root-file-size-limitation/45138/1 "2021-05-28T15:52:52Z")

</div>

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

* * *

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [May 31, 2021, 8:55am UTC](https://root-forum.cern.ch/t/root-file-size-limitation/45138/2 "2021-05-31T08:55:09Z")

</div>

What is “gjm”?

ROOT will usually switch to a new `TFile` when the current one reaches a limit of `TTree::MaxTreeSitze()` which is `100000000000LL` (i.e. 100GB) by default.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [June 14, 2021, 8:55am UTC](https://root-forum.cern.ch/t/root-file-size-limitation/45138/3 "2021-06-14T08:55:25Z")

</div>

Closed on June 14, 2021, 8:55am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
