Seems like: Crash when writing canvas to TFile and [RF] RooDataSet conversion to TTree fails for large datasets (bytecount too large) · Issue #12710 · root-project/root · GitHub
right @moneta ?