# How to add root files when the target root file is larger than 100 GB

**URL:** <https://root-forum.cern.ch/t/how-to-add-root-files-when-the-target-root-file-is-larger-than-100-gb/37932>\
**Category:** ROOT\
**Tags:** tree\
**Created:** [February 11, 2020, 2:11pm UTC](https://root-forum.cern.ch/t/how-to-add-root-files-when-the-target-root-file-is-larger-than-100-gb/37932 "2020-02-11T14:11:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [February 11, 2020, 3:25pm UTC](https://root-forum.cern.ch/t/how-to-add-root-files-when-the-target-root-file-is-larger-than-100-gb/37932/2 "2020-02-11T15:25:37Z")

</div>

Hello Arka,  
[TTree::SetMaxTreeSize](https://root.cern.ch/doc/master/classTTree.html#a3ab4006402ddbc3950e1ddab5e3aadd6) should help you with that. Take a look at [Root 6.04.14 hadd 100Gb and rootlogon](https://root-forum.cern.ch/t/root-6-04-14-hadd-100gb-and-rootlogon/24581/3) and [Hadd: 100Gb TTree Limit/compression levels](https://root-forum.cern.ch/t/hadd-100gb-ttree-limit-compression-levels/16519) for extra context and let me know if it helps.  
Cheers,  
Vincenzo

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-add-root-files-when-the-target-root-file-is-larger-than-100-gb/37932)._
