Long processing time for TFile::Close() function

Hi,

Which version of ROOT you are using? Can you try v5.29/02? You can work around the issue by removing your file explicitly from the list of file (gROOT->GetListOfFiles()->Remove(file):wink:

Cheers,
Philippe.