I have a root based process that runs in the background gathering data. Once every 15 seconds, it ‘prints’ a gif of the current TGraph objects as they are drawn onto a TCanvas.
Within a few hours of starting this process up, it consumes 90% of the CPU. If I comment out the line that does the print (save as exhibits the same problem), the process runs at <1% average CPU.
Any particular hints on why this might happen or how I might do it differently?
Regards,
Chris