Canvas update memory problem under Windows?

The following simple test -

 h=new TH2I("h","h",100,0,100,100,0,100);
 h->Draw("col2z");
 for (int i=0;i<1000;i++)
{ 
     h->Fill(i%100,(i%100),i*100);
     gPad->Modified();
    gPad->Update();
   gSystem->Sleep(10);
}
  • demonstrates that memory occupied by ROOT (or ROOT based apllication) is growing all the time during execution. The problem exists for ROOT 4.00.08 and 5.04 under Windows (XP and 2000), and I have not seen it under Linux (ROOT 4.04).

Solving of this problem is important for on-line monitoring systems.

With best wishes,
Elena Litvinenko

Hi Elena,

Will investigate and let you know.

Cheers,
Bertrand.

Hi Elena,

The problem has been fixed in CVS.

Cheers,
Bertrand.

Hi, Bertrand,

Thanks a lot !

  Good luck,
                    Elena