# Multithread RDataFrame.Snapshot with big files and lots of columns

**URL:** <https://root-forum.cern.ch/t/multithread-rdataframe-snapshot-with-big-files-and-lots-of-columns/64155>\
**Category:** ROOT\
**Tags:** rdataframe, python, tree, root\
**Created:** [September 17, 2025, 9:37am UTC](https://root-forum.cern.ch/t/multithread-rdataframe-snapshot-with-big-files-and-lots-of-columns/64155 "2025-09-17T09:37:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![StephanH](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@StephanH](https://root-forum.cern.ch/u/StephanH)\
**Post date:** [September 19, 2025, 12:50pm UTC](https://root-forum.cern.ch/t/multithread-rdataframe-snapshot-with-big-files-and-lots-of-columns/64155/6 "2025-09-19T12:50:55Z")

</div>

Hello again!

I believe your test with hadd ran into this issue:

> [@Root 6.04.14 hadd 100Gb and rootlogon](https://root-forum.cern.ch/t/root-6-04-14-hadd-100gb-and-rootlogon/24581):
>
> Dear experts, I am currently trying to use hadd to make an output file with a tree with size \> 100 Gb. I read: [https://root-forum.cern.ch/t/root-6-04-14-hadd-100gb-tfilemerger-recursiveremove/24117/4](https://root-forum.cern.ch/t/root-6-04-14-hadd-100gb-tfilemerger-recursiveremove/24117/4) and: It seems that in my case the easiest solution is to create in the directory I execute “hadd” a rootlogon.C file with: { TTree::SetMaxTreeSize( 1000000000000LL ); // 1 TB } However, it seems that when I run “hadd” this new option is not taken into account. I tried two commands: hadd…

Unfortunately, RDataFrame does not react to this setting, so I believe that the snapshot crash you encountered is different from the hadd 100G limit that your test revealed.

Is there a way of using `ROOT.RDataFrame(<largeNumber>)`, i.e. an RDF that’s just counting up? You could attach a dummy computation graph and we try to snapshot it, no input data required.

---

_[View the full topic](https://root-forum.cern.ch/t/multithread-rdataframe-snapshot-with-big-files-and-lots-of-columns/64155)._
