Dear Root experts,
I am running a fitting macro that performs likelihood fits binned over 10 eta windows and 8 centrality classes. The fits are successful until eventually I run into an error
pipe: Too many open files
pipe: Too many open files
pipe: Too many open files
CAUTION: tmpfile /tmp/jk4Ees_cint can't open
Error: could not create file /tmp/jk4Ees_cint
*** Break *** segmentation violation
any idea on how to fix this? I am saving the fits via
cdatapt->Print(plotNameLog.ReplaceAll("#","")+".png");
cdatapt->Print(plotNameLog.ReplaceAll("#","")+".eps");
cdatapt->Print(plotNameLog.ReplaceAll("#","")+".pdf");
cdatapt->Print(plotNameLog+".root");
cdatapt->Close() ;
where cdatapt is a TCanvas*. Thanks.